Remove unused code into GUI

This commit is contained in:
andrea
2022-07-11 15:10:25 +02:00
committed by Uwe
parent 094ae93678
commit 3018985f80
47 changed files with 14 additions and 1592 deletions

View File

@@ -1513,14 +1513,6 @@ void PythonGroupCommand::activated(int iMsg)
}
}
// It is better to let ActionGroup::onActivated() to handle icon and
// text change. The net effect is that the GUI won't change by user
// inovking command through runCommandByName()
#if 0
// Since the default icon is reset when enabling/disabling the command we have
// to explicitly set the icon of the used command.
pcAction->setIcon(a[iMsg]->icon());
#endif
}
catch(Py::Exception&) {
Base::PyGILStateLocker lock;