summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/options-dialog.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir/options-dialog.hpp')
-rw-r--r--facetracknoir/options-dialog.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/facetracknoir/options-dialog.hpp b/facetracknoir/options-dialog.hpp
index 9ad656a4..3ef99d06 100644
--- a/facetracknoir/options-dialog.hpp
+++ b/facetracknoir/options-dialog.hpp
@@ -15,6 +15,7 @@ public:
private:
Ui::UI_Settings ui;
Shortcuts::settings s;
+ void closeEvent(QCloseEvent *) override { doCancel(); }
private slots:
void doOK();
void doCancel();