mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
various fixes for moving markers, fixes a crash reported by tim blechmann and also likely #5232 and #5241
git-svn-id: svn://localhost/ardour2/branches/3.0@13754 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
bcab772257
commit
67265c6d90
6 changed files with 135 additions and 36 deletions
|
|
@ -1129,7 +1129,7 @@ void
|
|||
Selection::set (Marker* m)
|
||||
{
|
||||
clear_time (); //enforce region/object exclusivity
|
||||
clear_objects();
|
||||
markers.clear ();
|
||||
|
||||
add (m);
|
||||
}
|
||||
|
|
@ -1137,8 +1137,6 @@ Selection::set (Marker* m)
|
|||
void
|
||||
Selection::toggle (Marker* m)
|
||||
{
|
||||
clear_time (); //enforce region/object exclusivity
|
||||
|
||||
MarkerSelection::iterator i;
|
||||
|
||||
if ((i = find (markers.begin(), markers.end(), m)) == markers.end()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue