forked from qt-creator/qt-creator
ProjectManager: Use the right constant when creating a menu
Change-Id: Icb7b17929e269469ccbcb24c2ab50fc67c167be3 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -697,7 +697,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
|
||||
folderOpenLocationCtxMenu->setOnAllDisabledBehavior(ActionContainer::Show);
|
||||
|
||||
ActionContainer *subProjectOpenLocationCtxMenu =
|
||||
ActionManager::createMenu(Constants::PROJECT_OPEN_LOCATIONS_CONTEXT_MENU);
|
||||
ActionManager::createMenu(Constants::SUBPROJECT_OPEN_LOCATIONS_CONTEXT_MENU);
|
||||
subProjectOpenLocationCtxMenu->menu()->setTitle(tr("Open..."));
|
||||
subProjectOpenLocationCtxMenu->setOnAllDisabledBehavior(ActionContainer::Show);
|
||||
|
||||
|
Reference in New Issue
Block a user