forked from qt-creator/qt-creator
"Close All Projects" also closes all editors, adjust title to that
Task-number: QTCREATORBUG-6991 Change-Id: I817c2e16ae131bc30f3b6cf00f7afeeb53e0a159 Reviewed-by: Robert Löhning <robert.loehning@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -644,7 +644,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
|
||||
mfile->addAction(cmd, Core::Constants::G_FILE_PROJECT);
|
||||
|
||||
// unload session action
|
||||
d->m_closeAllProjects = new QAction(tr("Close All Projects"), this);
|
||||
d->m_closeAllProjects = new QAction(tr("Close All Projects and Editors"), this);
|
||||
cmd = am->registerAction(d->m_closeAllProjects, Constants::CLEARSESSION, globalcontext);
|
||||
mfile->addAction(cmd, Core::Constants::G_FILE_PROJECT);
|
||||
msessionContextMenu->addAction(cmd, Constants::G_SESSION_FILES);
|
||||
|
||||
Reference in New Issue
Block a user