Skip to content

Commit

Permalink
ticket:5541 Enable ctrl+home
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Jun 25, 2019
1 parent d5ff08e commit 04749d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEdit/OMEditGUI/Editors/BaseEditor.cpp
Expand Up @@ -1689,7 +1689,7 @@ void PlainTextEdit::keyPressEvent(QKeyEvent *pEvent)
} else if (shiftModifier && pEvent->key() == Qt::Key_Home) {
handleHomeKey(true);
return;
} else if (pEvent->key() == Qt::Key_Home) {
} else if (!controlModifier && pEvent->key() == Qt::Key_Home) {
handleHomeKey(false);
return;
} else if (shiftModifier && (pEvent->key() == Qt::Key_Enter || pEvent->key() == Qt::Key_Return)) {
Expand Down

0 comments on commit 04749d3

Please sign in to comment.