[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-cvs
Subject:    [LyX/master] Allow toggling of Zoom elements without buffer
From:       Scott Kostyshak <skostysh () lyx ! org>
Date:       2021-12-27 18:15:42
Message-ID: 20211227181542.6125E28023D () lyx ! lyx ! org
[Download RAW message or body]

commit 9ffca92930443a31d743380ffd5df4ce1a619e83
Author: Scott Kostyshak <skostysh@lyx.org>
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
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic