Set Ctrl+E, R as default shortcut for rewrap paragraph

Suggested by dt.
This commit is contained in:
Thorbjørn Lindeijer
2009-07-21 12:37:04 +02:00
parent ca825d2a96
commit e1362eab38
2 changed files with 2 additions and 2 deletions

View File

@@ -143,7 +143,7 @@ void TextEditorActionHandler::createActions()
m_rewrapParagraphAction = new QAction(tr("&Rewrap Paragraph"), this);
command = am->registerAction(m_rewrapParagraphAction, TextEditor::Constants::REWRAP_PARAGRAPH, m_contextId);
//command->setDefaultKeySequence(QKeySequence(tr("Alt+Q"))); (No default key sequence for now.)
command->setDefaultKeySequence(QKeySequence(tr("Ctrl+E, R")));
advancedMenu->addAction(command, Core::Constants::G_EDIT_FORMAT);
connect(m_rewrapParagraphAction, SIGNAL(triggered(bool)), this, SLOT(rewrapParagraphAction()));