summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-06-16 20:27:26 +0930
committerDaniel Jones <admin@danieljon.es>2020-06-16 20:27:26 +0930
commit7797ba658e532eb6b57f4774a58ff3b4b4f13c7a (patch)
treec137e318556692c3ae1adf43a723d2f5030fa539
parent58719994ef50de9f88c0d2839617621ba57b6efc (diff)
downloadfoxminesweeper-master.tar.gz
foxminesweeper-master.zip
cheat: don't eat all keypressesHEADmaster
-rw-r--r--MainWindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/MainWindow.cpp b/MainWindow.cpp
index 36963be..0414406 100644
--- a/MainWindow.cpp
+++ b/MainWindow.cpp
@@ -380,6 +380,7 @@ MainWindow::on_Key_Press(FXObject *sender, FXSelector sel, void *data)
}
break;
default:
+ this->onKeyPress(sender, sel, data);
break;
}
return 1;
@@ -409,6 +410,7 @@ MainWindow::on_Key_Release(FXObject *sender, FXSelector sel, void *data)
break;
default:
+ this->onKeyPress(sender, sel, data);
break;
}