forked from qt-creator/qt-creator
enable text update for the build action (so we can show the project it builds)
This commit is contained in:
@@ -488,6 +488,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList & /*arguments*/, QStrin
|
||||
// build action
|
||||
m_buildAction = new QAction(tr("Build Project"), this);
|
||||
cmd = am->registerAction(m_buildAction, Constants::BUILD, globalcontext);
|
||||
cmd->setAttribute(Core::ICommand::CA_UpdateText);
|
||||
cmd->setDefaultKeySequence(QKeySequence(tr("Ctrl+B")));
|
||||
mbuild->addAction(cmd, Constants::G_BUILD_PROJECT);
|
||||
mproject->addAction(cmd, Constants::G_PROJECT_BUILD);
|
||||
|
||||
Reference in New Issue
Block a user