diff options
author | Robin Gareus <robin@gareus.org> | 2013-06-10 17:01:24 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-06-10 19:10:12 +0200 |
commit | b203da5eb9deaeef10b6d2c9da4fad25f2e097f8 (patch) | |
tree | f8fb32348934f854a99015bc942c684b0eaef3ee /gtk2_ardour/video_monitor.cc | |
parent | 97ec274512a63f1edf9795436e7462317642be7e (diff) |
vtl: fix duplicate saved settings
Diffstat (limited to 'gtk2_ardour/video_monitor.cc')
-rw-r--r-- | gtk2_ardour/video_monitor.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/video_monitor.cc b/gtk2_ardour/video_monitor.cc index c33b96fda2..2cefb7946c 100644 --- a/gtk2_ardour/video_monitor.cc +++ b/gtk2_ardour/video_monitor.cc @@ -423,6 +423,7 @@ VideoMonitor::save_session () if (!_session) { return; } XMLNode* node = _session->extra_xml (X_("XJSettings")); if (!node) return; + node->remove_nodes_and_delete("XJSetting"); for(XJSettings::const_iterator it = xjadeo_settings.begin(); it != xjadeo_settings.end(); ++it) { XMLNode* child = node->add_child (X_("XJSetting")); |