Allow direct trigger -> trigger selection changes
Previously there were two signals for a ::set() 1. Clear Selection -> Emit Signal 2. Select TriggerEntry -> Emit Signal As result the Trigger Patch Selector was reset and hidden at (1), only to be set and presented again at (2). This should perhaps be done for other ::set() calls as well.
This commit is contained in:
parent
42df6be0fa
commit
a309f237f2
@ -1704,8 +1704,20 @@ Selection::selected (TriggerEntry* te) const
|
||||
void
|
||||
Selection::set (TriggerEntry* te)
|
||||
{
|
||||
#if 0
|
||||
clear();
|
||||
clear_triggers ();
|
||||
#else
|
||||
clear_tracks ();
|
||||
clear_regions ();
|
||||
clear_points ();
|
||||
clear_lines ();
|
||||
clear_time ();
|
||||
clear_playlists ();
|
||||
clear_midi_notes ();
|
||||
clear_markers ();
|
||||
pending_midi_note_selection.clear();
|
||||
#endif
|
||||
clear_triggers (te ? false: true); /* Do not emit signal here, add() emits signal */
|
||||
add (te);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user