]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiView.cpp
Fix bad refresh when changing zoom level
[features.git] / src / frontends / qt4 / GuiView.cpp
index 7644efc63f23d207b0ddf295a2e0a66b85f7b691..1a1ca54be1c504f01421170d29ba3a70d039115e 100644 (file)
@@ -4149,7 +4149,7 @@ void GuiView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
                        // painting so we must reset it.
                        QPixmapCache::clear();
                        guiApp->fontLoader().update();
-                       lyx::dispatch(FuncRequest(LFUN_SCREEN_FONT_UPDATE));
+                       dr.screenUpdate(Update::Force | Update::FitCursor);
                        break;
                }