commit 9ffca92930443a31d743380ffd5df4ce1a619e83
Author: Scott Kostyshak <[email protected]>
Date:   Mon Dec 27 13:40:56 2021 -0500

    Allow toggling of Zoom elements without buffer
    
    The elements are shown without a buffer so it's nice to be able to
    toggle without one as well.
---
 src/frontends/qt/GuiView.cpp |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/frontends/qt/GuiView.cpp b/src/frontends/qt/GuiView.cpp
index b7a60fa..cce87e5 100644
--- a/src/frontends/qt/GuiView.cpp
+++ b/src/frontends/qt/GuiView.cpp
@@ -2356,10 +2356,8 @@ bool GuiView::getStatus(FuncRequest const & cmd, 
FuncStatus & flag)
 
        case LFUN_UI_TOGGLE:
                if (cmd.argument() == "zoom") {
-                       enable = doc_buffer;
                        flag.setOnOff(zoom_value_ ? zoom_value_->isVisible() : 
false);
                } else if (cmd.argument() == "zoomslider") {
-                       enable = doc_buffer;
                        flag.setOnOff(zoom_slider_ ? zoom_slider_->isVisible() 
: false);
                } else
                        flag.setOnOff(isFullScreen());
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to