Skip to content

Commit

Permalink
Fix pressed Shift key detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
dchapyshev committed Jul 17, 2024
1 parent 066004e commit 65f1cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/host/ui/config_dialog.cc
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ ConfigDialog::ConfigDialog(QWidget* parent)
setConfigChanged(FROM_HERE, true);
});

ui.tab_bar->setTabVisible(4, QApplication::keyboardModifiers().testFlag(Qt::ShiftModifier));
ui.tab_bar->setTabVisible(4, QApplication::queryKeyboardModifiers().testFlag(Qt::ShiftModifier));

//---------------------------------------------------------------------------------------------
// Other
Expand Down

0 comments on commit 65f1cba

Please sign in to comment.