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:
parent
d480cd0e88
commit
3be99984b3
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user