diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-12 00:30:13 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-12 00:30:13 +0200 |
commit | 88f985ca34275fc1cc014c5b8fa618ca95233db7 (patch) | |
tree | fd1a2418d20a21f843b66b0cec0dc0a7aa503068 /facetracknoir/mappings.hpp | |
parent | f50ef9ca768f676c38fb7f24c15d38e2f72126fb (diff) |
spline editor needs discard changes on cancel
Diffstat (limited to 'facetracknoir/mappings.hpp')
-rw-r--r-- | facetracknoir/mappings.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/facetracknoir/mappings.hpp b/facetracknoir/mappings.hpp index a3e53450..5953ed1e 100644 --- a/facetracknoir/mappings.hpp +++ b/facetracknoir/mappings.hpp @@ -76,4 +76,13 @@ public: axes[i].curveAlt.saveSettings(iniFile, axes[i].name2); } } + + void invalidate_unsaved() + { + for (int i = 0; i < 6; i++) + { + axes[i].curve.invalidate_unsaved_settings(); + axes[i].curveAlt.invalidate_unsaved_settings(); + } + } }; |