]> git.lyx.org Git - features.git/commit
Improve status check of LFUN_BUFFER_ZOOM_{OUT,IN}
authorScott Kostyshak <skostysh@lyx.org>
Tue, 19 Jul 2016 05:44:39 +0000 (01:44 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Tue, 30 Aug 2016 14:25:45 +0000 (10:25 -0400)
commit03684ae05e3487f563800b58979d730bd881f159
tree3296bff56869d8dc3a78c3811a5206adfb446ec3
parenta9a45344b81397f2a48c48fe7065e2ae77f38617
Improve status check of LFUN_BUFFER_ZOOM_{OUT,IN}

buffer-zoom-out can actually zoom in (by giving a positive number as
the argument), so it should only be disabled at the minimum zoom
level if it is indeed zooming out.

Similarly, buffer-zoom-in can zoom out, so it should be disabled if
the user is at the minimum zoom and it is called to zoom out.

This commit amends 8884c404.
src/frontends/qt4/GuiView.cpp