Compare commits
2 Commits
6bd9dd12a3
...
8ce80c791d
Author | SHA1 | Date | |
---|---|---|---|
8ce80c791d | |||
8841ac03f3 |
@ -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;
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user