Update selection-markers on track and time selection

This commit is contained in:
Robin Gareus 2023-09-05 23:51:33 +02:00
parent 10ff5ad599
commit 3851a93e39
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 5 additions and 2 deletions

View file

@ -1273,6 +1273,8 @@ Editor::track_selection_changed ()
if ( _session->solo_selection_active() )
play_solo_selection(false);
update_selection_markers ();
}
void
@ -1291,6 +1293,7 @@ Editor::time_selection_changed ()
(*i)->hide_selection ();
}
update_selection_markers ();
for (TrackSelection::iterator i = selection->tracks.begin(); i != selection->tracks.end(); ++i) {
(*i)->show_selection (selection->time);
}
@ -1313,8 +1316,6 @@ Editor::time_selection_changed ()
_session->clear_range_selection ();
}
}
update_selection_markers ();
}
/** Set all region actions to have a given sensitivity */