mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Fix signal order (#12712)
This commit is contained in:
parent
1d0ab7a274
commit
5ad6cbb1d8
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user