diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 3ea55ef8..d0ed5029 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -6491,6 +6491,8 @@ void MainWindow::dropEvent(QDropEvent *event) void MainWindow::keyReleaseEvent(QKeyEvent *event) { + // if the ui is locked, ignore the ALT key event + // alt-tabbing out of a game triggers this if (!UILocker::instance().locked()) { // if the menubar is hidden, pressing Alt will make it visible if (event->key() == Qt::Key_Alt) { |
