From 10889527090cdae03d18124ae82f3fd9c43ebfc8 Mon Sep 17 00:00:00 2001 From: 0penBrain <48731257+0penBrain@users.noreply.github.com> Date: Thu, 2 Sep 2021 16:39:07 +0200 Subject: [PATCH] [Gui] Declare Std_DrawStyle as being a 'Mode' command With this tooltip isn't updated with the current item value but instead keeps the general command tooltip text which more explanatory --- src/Gui/CommandView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Gui/CommandView.cpp b/src/Gui/CommandView.cpp index 63c68f9ffe..b7c2f9d10c 100644 --- a/src/Gui/CommandView.cpp +++ b/src/Gui/CommandView.cpp @@ -655,6 +655,7 @@ Gui::Action * StdCmdDrawStyle::createAction(void) { Gui::ActionGroup* pcAction = new Gui::ActionGroup(this, Gui::getMainWindow()); pcAction->setDropDownMenu(true); + pcAction->setIsMode(true); applyCommandData(this->className(), pcAction); QAction* a0 = pcAction->addAction(QString());