[LyX/master] Update zoom display after zoom has been set

Juergen Spitzmueller spitz at lyx.org
Sun Mar 7 17:32:20 UTC 2021


commit 0a3f856bc1fde00db971a8a22229fa2ee60817c7
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Sun Mar 7 18:35:40 2021 +0100

    Update zoom display after zoom has been set
---
 src/frontends/qt/GuiView.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/frontends/qt/GuiView.cpp b/src/frontends/qt/GuiView.cpp
index f8929a2..9884521 100644
--- a/src/frontends/qt/GuiView.cpp
+++ b/src/frontends/qt/GuiView.cpp
@@ -894,6 +894,7 @@ void GuiView::saveUISettings() const
 void GuiView::setCurrentZoom(const int v)
 {
 	lyxrc.currentZoom = v;
+	zoom_value_->setText(toqstr(bformat(_("[[ZOOM]]%1$d%"), v)));
 	Q_EMIT currentZoomChanged(v);
 }
 


More information about the lyx-cvs mailing list