Skip to content
Snippets Groups Projects
Commit 2a10a810 authored by Nicolas Arnaud-Cormos's avatar Nicolas Arnaud-Cormos Committed by Tobias Hunger
Browse files

Change the default shortcut for execute macro.


Use the Alt+R, now that default shortcuts for save macros are not
created by default.

Merge-request: 236
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 1f165616
No related branches found
No related tags found
No related merge requests found
...@@ -111,7 +111,7 @@ bool MacrosPlugin::initialize(const QStringList &arguments, QString *error_messa ...@@ -111,7 +111,7 @@ bool MacrosPlugin::initialize(const QStringList &arguments, QString *error_messa
QAction *executeLastMacro = new QAction(tr("Execute Last Macro"), this); QAction *executeLastMacro = new QAction(tr("Execute Last Macro"), this);
command = am->registerAction(executeLastMacro, Constants::EXECUTE_LAST_MACRO, textContext); command = am->registerAction(executeLastMacro, Constants::EXECUTE_LAST_MACRO, textContext);
command->setDefaultKeySequence(QKeySequence(tr("Alt+Shift+R"))); command->setDefaultKeySequence(QKeySequence(tr("Alt+R")));
mmacrotools->addAction(command); mmacrotools->addAction(command);
connect(executeLastMacro, SIGNAL(triggered()), m_macroManager, SLOT(executeLastMacro())); connect(executeLastMacro, SIGNAL(triggered()), m_macroManager, SLOT(executeLastMacro()));
......
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