From cff5d55651f8415d3cdc923ee36fde05d31beb67 Mon Sep 17 00:00:00 2001 From: Marcus Tillmanns Date: Tue, 3 Sep 2024 13:35:54 +0200 Subject: [PATCH] ProjectExplorer: Clean up context menu Having three different "Close ..." options close together makes it annoying to find the one you want, which is Close Project xyz ;) Change-Id: Ie78b508f2c3378dcdd2e6f6de5d8699067bc9fb3 Reviewed-by: Alessandro Portale --- src/plugins/projectexplorer/projectexplorer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index 29be579f8e7..06864358df5 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -1530,7 +1530,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er "ProjectExplorer.CloseAllFilesInProjectContextMenu"); cmd->setAttribute(Command::CA_UpdateText); cmd->setDescription(dd->m_closeProjectFilesActionContextMenu->text()); - mprojectContextMenu->addAction(cmd, Constants::G_PROJECT_CLOSE); + mprojectContextMenu->addAction(cmd, Constants::G_PROJECT_FILES); // unload project again, in right position dd->m_unloadActionContextMenu = new Action(Tr::tr("Close Project"), Tr::tr("Close Project \"%1\""),