diff options
author | Robin Gareus <robin@gareus.org> | 2015-03-29 18:30:48 +0200 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-03-30 09:19:00 -0500 |
commit | 3be99984b3175090dbce24e38be719d6e6358b6f (patch) | |
tree | c3848d4312a67437dee3d6af9709627c5db968ba /gtk2_ardour | |
parent | d480cd0e8809f9ed76c8a8b796ae94f6840399dc (diff) |
don’t apply selection to new sessions
<Selection> should not be saved in
global preferences, but there is no single point
for catching that.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/ardour_ui.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 443bba7057..d4f696c3ee 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -3147,6 +3147,7 @@ ARDOUR_UI::build_session (const std::string& path, const std::string& snap_name, XMLNode* n; n = Config->instant_xml (X_("Editor")); if (n) { + n->remove_nodes_and_delete ("Selection"); // no not apply selection to new sessions. new_session->add_instant_xml (*n, false); } n = Config->instant_xml (X_("Mixer")); |