Change the key binding for the copy line operation
introduced at
8ae4317394a3cb7acd085fee78c0c348d4e7ceb4
to Ctrl+Ins. We already use Shift+Del for the cut line
operation, so this would be CUA consistent.
cut();
}
-// control+shift+insert
+// ctrl+ins
void BaseTextEditorWidget::copyLine()
{
QTextCursor prevCursor = textCursor();
m_copyLineAction = new QAction(tr("Copy &Line"), this);
command = am->registerAction(m_copyLineAction, Constants::COPY_LINE, m_contextId);
- command->setDefaultKeySequence(QKeySequence(tr("Ctrl+Shift+Ins")));
+ command->setDefaultKeySequence(QKeySequence(tr("Ctrl+Ins")));
connect(m_copyLineAction, SIGNAL(triggered()), this, SLOT(copyLine()));
m_deleteLineAction = new QAction(tr("Delete &Line"), this);