summaryrefslogtreecommitdiffhomepage
path: root/gui/options-dialog.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-02-25 14:07:55 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-02-25 14:19:59 +0100
commitfb691fb6c36b5e21170ba13a5d228e8fcb5e190b (patch)
treec29625a2746ea736841a85cd2bee29118609f846 /gui/options-dialog.hpp
parent35a00c84e56749aab323bfb664cbaeccc984c168 (diff)
gui/options-dialog: prevent escape key closing on Linux
The escape key closed the dialog but prevented save/cancel hooks from being run. Now we get the hooks running twice but it's better than not at all.
Diffstat (limited to 'gui/options-dialog.hpp')
-rw-r--r--gui/options-dialog.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/options-dialog.hpp b/gui/options-dialog.hpp
index 8c62b278..e9359b6d 100644
--- a/gui/options-dialog.hpp
+++ b/gui/options-dialog.hpp
@@ -23,6 +23,7 @@ private:
private slots:
void doOK();
void doCancel();
+ void done(int res) override;
void bind_key(key_opts &kopts, QLabel* label);
void set_disable_translation_state(bool value);
};