13
0

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
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 5 additions and 2 deletions

View File

@ -2467,6 +2467,8 @@ Editor::set_state (const XMLNode& node, int version)
_playhead_cursor->set_position (0); _playhead_cursor->set_position (0);
} }
update_selection_markers ();
node.get_property ("mixer-width", editor_mixer_strip_width); node.get_property ("mixer-width", editor_mixer_strip_width);
node.get_property ("zoom-focus", zoom_focus); node.get_property ("zoom-focus", zoom_focus);

View File

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