Skip to content
Snippets Groups Projects
Commit 26b9820d authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Macro: Use correct key sequence in help


Change-Id: I3f170fa3b6323d0989144df8bdd7e8d0c050dcb0
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent d3f9b90c
No related branches found
No related tags found
No related merge requests found
...@@ -286,8 +286,8 @@ void MacroManager::startMacro() ...@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment