[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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user