summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSeth Riley <17361645+Qudix@users.noreply.github.com>2020-12-01 16:05:23 -0600
committerSeth Riley <17361645+Qudix@users.noreply.github.com>2020-12-01 16:05:23 -0600
commitce7345bde2af851226e9c2bdef38baa433d4897e (patch)
tree23316c95cbd6dabd70cc9553fe88a13b54d2fb39 /src
parent852d8745a1ac3ef2aaa83ae21d473d20428d7d30 (diff)
The Golden Comment
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp2
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) {