summaryrefslogtreecommitdiffhomepage
path: root/gui/curve-config.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-07-03 13:40:59 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-07-03 13:40:59 +0200
commit5100661c2d7c820638fa49a8e27dceb6685e39b7 (patch)
tree53312f1e0a0d350cceefd68262672b7d3a5d272b /gui/curve-config.h
parent41f9ea3045f21f1d1cea74b3b551c26ce57f2fd0 (diff)
gui/mapping: fix axis asymmetry checkboxes
value<t> needs to persist over the checkbox's lifetime, otherwise the slot gets disconnected.
Diffstat (limited to 'gui/curve-config.h')
-rw-r--r--gui/curve-config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/curve-config.h b/gui/curve-config.h
index 33ce90fd..f13e5501 100644
--- a/gui/curve-config.h
+++ b/gui/curve-config.h
@@ -12,6 +12,8 @@ public:
private:
Ui::UICCurveConfigurationDialog ui;
Mappings& m;
+ main_settings s;
+
void closeEvent(QCloseEvent *) override { doCancel(); }
private slots:
void doOK();