forked from qt-creator/qt-creator
UpdateInfo: add action to start maintenance tool
Change-Id: Icb37dc0f5634ccd11aa34aa8dc256bf796301b2f Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -476,7 +476,9 @@ bool MenuActionContainer::updateInternal()
|
||||
}
|
||||
} else if (auto command = qobject_cast<Command *>(item)) {
|
||||
actions.removeAll(command->action());
|
||||
if (command->isActive()) {
|
||||
if (command->isActive()
|
||||
&& !(HostOsInfo::isMacHost()
|
||||
&& command->action()->menuRole() == QAction::ApplicationSpecificRole)) {
|
||||
hasitems = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user