Compare commits

...

2 Commits

2 changed files with 9 additions and 0 deletions

View File

@ -228,6 +228,10 @@ EditorSections::scroll_row_timeout ()
void
EditorSections::update_time_selection ()
{
if (!_session) {
return;
}
_view.get_selection ()->unselect_all ();
Selection& selection (PublicEditor::instance ().get_selection ());
@ -256,6 +260,10 @@ EditorSections::update_time_selection ()
void
EditorSections::selection_changed ()
{
if (!_session) {
return;
}
TreeView::Selection::ListHandle_Path rows = _view.get_selection ()->get_selected_rows ();
if (rows.empty ()) {
return;

View File

@ -339,6 +339,7 @@ MIDISceneChanger::program_change_input (MIDI::Parser& parser, MIDI::byte program
}
loc->set_scene_change (std::shared_ptr<MIDISceneChange> (msc));
loc->set_name( string_compose(_("scene [%1]"), 1+bank*128+(program & 0x7f)));
/* this will generate a "changed" signal to be emitted by locations,
and we will call ::gather() to update our list of MIDI events.