1
0
Fork 0

Fix Ctrl+Shift+Tab in ShortcutEdit #2176

This commit is contained in:
Duncan Ogilvie 2022-01-03 04:10:20 +01:00
parent e0b350358e
commit a43d7b2e19
1 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,10 @@ void ShortcutEdit::keyPressEvent(QKeyEvent* event)
return;
}
// Workaround for Shift+Tab
if(keyInt == Qt::Key_Backtab)
keyInt = Qt::Key_Tab;
// any combination of "Ctrl, Alt, Shift" ?
Qt::KeyboardModifiers modifiers = event->modifiers();
QString text = event->text();