committed by
Kacper Donat
parent
ecf02b7878
commit
1f35b9d7fe
@@ -98,7 +98,7 @@ void ViewProviderAttachExtension::extensionSetupContextMenu(QMenu* menu, QObject
|
||||
if (attach) {
|
||||
// toggle command to display components
|
||||
Gui::ActionFunction* func = new Gui::ActionFunction(menu);
|
||||
QAction* act = menu->addAction(QObject::tr("Attachment editor"));
|
||||
QAction* act = menu->addAction(QObject::tr("Attachment Editor"));
|
||||
if (Gui::Control().activeDialog())
|
||||
act->setDisabled(true);
|
||||
func->trigger(act, [this](){
|
||||
|
||||
Reference in New Issue
Block a user