forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.9'
Change-Id: I7bdb6a4658c5fca1a7e1dda5adbb5613dabc6d18
This commit is contained in:
@@ -1451,8 +1451,9 @@ void DebuggerPluginPrivate::updatePresetState()
|
||||
if (startupRunConfigName.isEmpty() && startupProject)
|
||||
startupRunConfigName = startupProject->displayName();
|
||||
|
||||
// Restrict width, otherwise Creator gets too wide, see QTCREATORBUG-21885
|
||||
const QString startToolTip =
|
||||
canRun ? tr("Start debugging of \"%1\"").arg(startupRunConfigName) : whyNot;
|
||||
canRun ? tr("Start debugging of startup project") : whyNot;
|
||||
|
||||
m_startAction.setToolTip(startToolTip);
|
||||
m_startAction.setText(canRun ? startToolTip : tr("Start Debugging"));
|
||||
|
||||
Reference in New Issue
Block a user