From 7f49457e9d6e190656c3f620e51b489c0d0fd900 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Thu, 2 Mar 2017 10:23:09 +0100 Subject: [PATCH] ProjectExplorer: Set a description for the "Stop" action "Stop" in the Keyboard Setup Dialog is not really helpful. Say "Stop Running Program" instead. Change-Id: I23f590b6faf64a9a680295c3ccf77231b4f5cd21 Reviewed-by: Leena Miettinen Reviewed-by: Tim Jenssen --- src/plugins/projectexplorer/appoutputpane.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/appoutputpane.cpp b/src/plugins/projectexplorer/appoutputpane.cpp index ec9a0e370c6..554c181a48f 100644 --- a/src/plugins/projectexplorer/appoutputpane.cpp +++ b/src/plugins/projectexplorer/appoutputpane.cpp @@ -176,10 +176,11 @@ AppOutputPane::AppOutputPane() : // Stop m_stopAction->setIcon(Utils::Icons::STOP_SMALL_TOOLBAR.icon()); - m_stopAction->setToolTip(tr("Stop")); + m_stopAction->setToolTip(tr("Stop Running Program")); m_stopAction->setEnabled(false); Core::Command *cmd = Core::ActionManager::registerAction(m_stopAction, Constants::STOP); + cmd->setDescription(m_stopAction->toolTip()); m_stopButton->setDefaultAction(cmd->action()); m_stopButton->setAutoRaise(true);