Skip to content

Commit 233a267

Browse files
committed
GUI: replace backtab with Shift+Tab in ShortcutEdit
1 parent 5b76962 commit 233a267

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/gui/Src/BasicView/ShortcutEdit.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ void ShortcutEdit::keyPressEvent(QKeyEvent* event)
6363
}
6464
}
6565

66+
// replace Backtab with Shift+Tab
67+
if((keyInt & Qt::Key_Backtab) == Qt::Key_Backtab)
68+
keyInt = (keyInt & ~Qt::Key_Backtab) | Qt::SHIFT | Qt::Key_Tab;
6669

6770
// display key combination
6871
setText(QKeySequence(keyInt).toString(QKeySequence::NativeText));

0 commit comments

Comments
 (0)