forked from qt-creator/qt-creator
Remove default shortcut from stop action since it conflicts with rename
Both rename symbol and stop running had Ctrl+Shift+R as default shortcut, making it impossible to do either when an application was running and the focus was in the text editor.
This commit is contained in:
@@ -88,7 +88,6 @@ OutputPane::OutputPane()
|
|||||||
m_stopAction->setEnabled(false);
|
m_stopAction->setEnabled(false);
|
||||||
|
|
||||||
Core::Command *cmd = am->registerAction(m_stopAction, Constants::STOP, globalcontext);
|
Core::Command *cmd = am->registerAction(m_stopAction, Constants::STOP, globalcontext);
|
||||||
cmd->setDefaultKeySequence(QKeySequence(tr("Ctrl+Shift+R")));
|
|
||||||
|
|
||||||
m_stopButton = new QToolButton;
|
m_stopButton = new QToolButton;
|
||||||
m_stopButton->setDefaultAction(cmd->action());
|
m_stopButton->setDefaultAction(cmd->action());
|
||||||
|
Reference in New Issue
Block a user