From 6e5c046f9022fb90747a72673986633ccd0948a3 Mon Sep 17 00:00:00 2001 From: nick_m Date: Sat, 17 Jun 2017 05:28:02 +1000 Subject: [PATCH] Fix time selection undo for multiple time selections This is in mantis somewhere but i can't find it. timbyr? --- gtk2_ardour/selection.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/selection.cc b/gtk2_ardour/selection.cc index a1ba890e57..f47dd3ee57 100644 --- a/gtk2_ardour/selection.cc +++ b/gtk2_ardour/selection.cc @@ -1364,7 +1364,8 @@ Selection::set_state (XMLNode const & node, int) if (!(*i)->get_property (X_("start"), start) || !(*i)->get_property (X_("end"), end)) { assert(false); } - set_preserving_all_ranges (start, end); + + add (start, end); } else if ((*i)->name() == X_("AutomationView")) {