Fix time selection undo for multiple time selections

This is in mantis somewhere but i can't find it. timbyr?
This commit is contained in:
nick_m 2017-06-17 05:28:02 +10:00
parent cadb5c481c
commit 6e5c046f90

View file

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