Commit e654966e authored by Laurent Montel's avatar Laurent Montel 😁

Fix conflict shortcut

parent 69b1a36a
......@@ -142,14 +142,7 @@ SieveEditorTextModeWidget::SieveEditorTextModeWidget(QWidget *parent)
connect(mSieveTemplateWidget, &SieveTemplateWidget::insertTemplate, mTextEdit, &SieveTextEdit::insertPlainText);
//
QShortcut *shortcut = new QShortcut(this);
shortcut->setKey(Qt::Key_F + Qt::CTRL);
connect(shortcut, &QShortcut::activated, this, &SieveEditorTextModeWidget::slotFind);
connect(mTextEdit, &SieveTextEdit::findText, this, &SieveEditorTextModeWidget::slotFind);
shortcut = new QShortcut(this);
shortcut->setKey(Qt::Key_R + Qt::CTRL);
connect(shortcut, &QShortcut::activated, this, &SieveEditorTextModeWidget::slotReplace);
connect(mTextEdit, &SieveTextEdit::replaceText, this, &SieveEditorTextModeWidget::slotReplace);
mDebugTextEdit = new KPIMTextEdit::PlainTextEditorWidget;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment