Merge pull request #5007 from 0penBrain/DrawStyleMode

[Gui] Declare Std_DrawStyle as being a 'Mode' command
This commit is contained in:
Yorik van Havre
2021-09-07 12:48:29 +02:00
committed by GitHub

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