forked from qt-creator/qt-creator
Macro: Use correct key sequence in help
Change-Id: I3f170fa3b6323d0989144df8bdd7e8d0c050dcb0 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
d3f9b90c10
commit
26b9820dfa
@@ -286,8 +286,8 @@ void MacroManager::startMacro()
|
|||||||
foreach (IMacroHandler *handler, d->handlers)
|
foreach (IMacroHandler *handler, d->handlers)
|
||||||
handler->startRecording(d->currentMacro);
|
handler->startRecording(d->currentMacro);
|
||||||
|
|
||||||
QString endShortcut = Core::ActionManager::command(Constants::END_MACRO)->defaultKeySequence().toString();
|
QString endShortcut = Core::ActionManager::command(Constants::END_MACRO)->keySequence().toString();
|
||||||
QString executeShortcut = Core::ActionManager::command(Constants::EXECUTE_LAST_MACRO)->defaultKeySequence().toString();
|
QString executeShortcut = Core::ActionManager::command(Constants::EXECUTE_LAST_MACRO)->keySequence().toString();
|
||||||
QString help = tr("Macro mode. Type \"%1\" to stop recording and \"%2\" to play the macro.")
|
QString help = tr("Macro mode. Type \"%1\" to stop recording and \"%2\" to play the macro.")
|
||||||
.arg(endShortcut).arg(executeShortcut);
|
.arg(endShortcut).arg(executeShortcut);
|
||||||
Core::EditorManager::showEditorStatusBar(
|
Core::EditorManager::showEditorStatusBar(
|
||||||
|
Reference in New Issue
Block a user