summaryrefslogtreecommitdiffhomepage
path: root/gui/options-dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/options-dialog.cpp')
-rw-r--r--gui/options-dialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/options-dialog.cpp b/gui/options-dialog.cpp
index a0d26b8a..8cf67e6d 100644
--- a/gui/options-dialog.cpp
+++ b/gui/options-dialog.cpp
@@ -142,6 +142,7 @@ void OptionsDialog::bind_key(key_opts& kopts, QLabel* label)
d.setLayout(&l);
d.setFixedSize(QSize(500, 300));
d.setWindowFlags(Qt::Dialog);
+ setWindowFlags(Qt::MSWindowsFixedSizeDialogHint | windowFlags());
d.setWindowModality(Qt::ApplicationModal);
connect(&k,
&KeyboardListener::key_pressed,