]> git.lyx.org Git - features.git/commit
Fix bad refresh when changing zoom level
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 27 Sep 2017 15:52:06 +0000 (17:52 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 27 Sep 2017 16:08:20 +0000 (18:08 +0200)
commit9df59aac63bbb56d9d5f5ddcccfaa3ebace2f03d
treedcf712129a61b4e411c933153eba7be75b264b64
parenta0bd27d8b17b7109b2a171c5c8ce526e27150684
Fix bad refresh when changing zoom level

Replace the tricky code in LFUN_SCREEN_FONT_UPDATE and replace it with
proper use of DispatchResult flags.

LFUN_BUFFER_ZOOM* does not need to call LFUN_SCREEN_FONT_UPDATE, since
it already does everything that is required.
src/frontends/qt4/GuiApplication.cpp
src/frontends/qt4/GuiView.cpp