forked from qt-creator/qt-creator
QmlDesigner: Do not override home and end keys
Those are not used and will not be used by the designer and user reconfigure them e.g. on macOS. Task-number: QTCREATORBUG-17968 Change-Id: I39d679cbce60de4c6951a82fa12d3c7c4fc630f3 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Tim Jenssen
parent
2ad7b7bfcc
commit
56e1749599
@@ -177,7 +177,7 @@ bool TextEditorWidget::eventFilter( QObject *, QEvent *event)
|
||||
{
|
||||
static std::vector<int> overrideKeys = { Qt::Key_Delete, Qt::Key_Backspace, Qt::Key_Left,
|
||||
Qt::Key_Right, Qt::Key_Up, Qt::Key_Down, Qt::Key_Insert,
|
||||
Qt::Key_Escape, Qt::Key_Home, Qt::Key_End };
|
||||
Qt::Key_Escape };
|
||||
|
||||
static std::vector<QKeySequence> overrideSequences = { QKeySequence::SelectAll, QKeySequence::Cut,
|
||||
QKeySequence::Copy, QKeySequence::Delete,
|
||||
|
||||
Reference in New Issue
Block a user