forked from qt-creator/qt-creator
CompilationDataManager: Fix position of main action in menu
Amends 56f9493445.
Change-Id: Ia00f25dab559422500b1287643cce7a7a6730ee4
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -56,7 +56,8 @@ class CompilationDatabaseProjectManagerPlugin final : public ExtensionSystem::IP
|
||||
ActionBuilder(this, CHANGEROOTDIR)
|
||||
.setText(Tr::tr("Change Root Directory"))
|
||||
.bindContextAction(&changeRootAction)
|
||||
.addToContainer(ProjectExplorer::Constants::M_PROJECTCONTEXT)
|
||||
.addToContainer(ProjectExplorer::Constants::M_PROJECTCONTEXT,
|
||||
ProjectExplorer::Constants::G_PROJECT_TREE)
|
||||
.addOnTriggered(ProjectTree::instance(), &ProjectTree::changeProjectRootDirectory);
|
||||
|
||||
const auto onProjectChanged = [changeRootAction] {
|
||||
|
||||
Reference in New Issue
Block a user