[LyX/master] Fix signal order (#12712)
Juergen Spitzmueller
spitz at lyx.org
Sat Mar 18 13:54:40 UTC 2023
commit 5ad6cbb1d88408192677773fa741953fdd53444a
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Sat Mar 18 15:57:25 2023 +0100
Fix signal order (#12712)
---
src/frontends/qt/GuiView.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/frontends/qt/GuiView.cpp b/src/frontends/qt/GuiView.cpp
index f7222e4..9a35311 100644
--- a/src/frontends/qt/GuiView.cpp
+++ b/src/frontends/qt/GuiView.cpp
@@ -1015,11 +1015,11 @@ void GuiView::saveUISettings() const
void GuiView::setCurrentZoom(const int v)
{
+ Q_EMIT currentZoomChanged(v);
lyxrc.currentZoom = v;
zoom_value_->setText(toqstr(bformat(_("[[ZOOM]]%1$d%"), v)));
zoom_in_->setEnabled(currentBufferView() && v < zoom_slider_->maximum());
zoom_out_->setEnabled(currentBufferView() && v > zoom_slider_->minimum());
- Q_EMIT currentZoomChanged(v);
}
More information about the lyx-cvs
mailing list