summaryrefslogtreecommitdiffhomepage
path: root/gui/mapping-window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/mapping-window.cpp')
-rw-r--r--gui/mapping-window.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/gui/mapping-window.cpp b/gui/mapping-window.cpp
index 96469e65..47e12c31 100644
--- a/gui/mapping-window.cpp
+++ b/gui/mapping-window.cpp
@@ -89,15 +89,18 @@ void MapWidget::closeEvent(QCloseEvent*)
void MapWidget::save_dialog()
{
- s.b_map->save();
+ mem<QSettings> settings_ = group::ini_file();
+ QSettings& settings = *settings_;
+
+ s.b_map->save_deferred(settings);
for (int i = 0; i < 6; i++)
{
m.forall([&](Map& s)
{
- s.spline_main.save();
- s.spline_alt.save();
- s.opts.b_mapping_window->save();
+ s.spline_main.save(settings);
+ s.spline_alt.save(settings);
+ s.opts.b_mapping_window->save_deferred(settings);
});
}
}