From 7d1629f6f0a0f3ca24f99cd91bfd5fbb8efdf3a1 Mon Sep 17 00:00:00 2001
From: mae <qtc-committer@nokia.com>
Date: Mon, 12 Jan 2009 20:47:01 +0100
Subject: [PATCH] enable text update for the build action (so we can show the
 project it builds)

---
 src/plugins/projectexplorer/projectexplorer.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp
index e4721457af4..b69469048b5 100644
--- a/src/plugins/projectexplorer/projectexplorer.cpp
+++ b/src/plugins/projectexplorer/projectexplorer.cpp
@@ -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);
-- 
GitLab