forked from qt-creator/qt-creator
ClangTools: Make space toggle the fixit state only
...instead of also going to the diagnostic location in the editor. This allows to toggle desired fixits without loosing focus (analyzer view -> editor widget). Change-Id: Ie8a0379ee1e811c01a2f0666f3627e3a9b537b04 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -283,7 +283,6 @@ bool DiagnosticView::eventFilter(QObject *watched, QEvent *event)
|
|||||||
switch (key) {
|
switch (key) {
|
||||||
case Qt::Key_Return:
|
case Qt::Key_Return:
|
||||||
case Qt::Key_Enter:
|
case Qt::Key_Enter:
|
||||||
case Qt::Key_Space:
|
|
||||||
openEditorForCurrentIndex();
|
openEditorForCurrentIndex();
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user