[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
This commit is contained in:
0penBrain
2021-09-02 16:39:07 +02:00
parent 91dde33ef2
commit 23dc088827

View File

@@ -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());