summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/curve-config.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-26 08:34:10 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-26 08:34:10 +0200
commit2f631a5159542f7e2813ca6ed7bc0be37c50afae (patch)
tree9a6fb03ef47884bb02054643559922883ccd82b9 /facetracknoir/curve-config.h
parent18085c6177dbbe440a12974d29fd03eb477ce177 (diff)
ui: also implicitly cancel options/mapping screens on normal close
Diffstat (limited to 'facetracknoir/curve-config.h')
-rw-r--r--facetracknoir/curve-config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/facetracknoir/curve-config.h b/facetracknoir/curve-config.h
index d1ef7ad2..0cbc7055 100644
--- a/facetracknoir/curve-config.h
+++ b/facetracknoir/curve-config.h
@@ -11,6 +11,7 @@ public:
private:
Ui::UICCurveConfigurationDialog ui;
Mappings& m;
+ void closeEvent(QCloseEvent *) override { doCancel(); }
private slots:
void doOK();
void doCancel();