13
0

don’t apply selection to new sessions

<Selection> should not be saved in
global preferences, but there is no single point
for catching that.
This commit is contained in:
Robin Gareus 2015-03-29 18:30:48 +02:00 committed by Paul Davis
parent d480cd0e88
commit 3be99984b3

View File

@ -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"));