From 3be99984b3175090dbce24e38be719d6e6358b6f Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 29 Mar 2015 18:30:48 +0200 Subject: [PATCH] =?UTF-8?q?don=E2=80=99t=20apply=20selection=20to=20new=20?= =?UTF-8?q?sessions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit should not be saved in global preferences, but there is no single point for catching that. --- gtk2_ardour/ardour_ui.cc | 1 + 1 file changed, 1 insertion(+) 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"));