Update zoom display after zoom has been set

This commit is contained in:
Juergen Spitzmueller 2021-03-07 18:35:40 +01:00
parent c8feef2e23
commit 0a3f856bc1

View File

@ -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);
}