fix copy-paste but in MidiTimeAxisView::set_note_selection() - use set, not add
This commit is contained in:
parent
d88b9d36ca
commit
b7b2189d95
@ -1576,11 +1576,11 @@ MidiTimeAxisView::set_note_selection (uint8_t note)
|
|||||||
|
|
||||||
if (_view->num_selected_regionviews() == 0) {
|
if (_view->num_selected_regionviews() == 0) {
|
||||||
_view->foreach_regionview (
|
_view->foreach_regionview (
|
||||||
sigc::bind (sigc::mem_fun (*this, &MidiTimeAxisView::add_note_selection_region_view),
|
sigc::bind (sigc::mem_fun (*this, &MidiTimeAxisView::set_note_selection_region_view),
|
||||||
note, chn_mask));
|
note, chn_mask));
|
||||||
} else {
|
} else {
|
||||||
_view->foreach_selected_regionview (
|
_view->foreach_selected_regionview (
|
||||||
sigc::bind (sigc::mem_fun (*this, &MidiTimeAxisView::add_note_selection_region_view),
|
sigc::bind (sigc::mem_fun (*this, &MidiTimeAxisView::set_note_selection_region_view),
|
||||||
note, chn_mask));
|
note, chn_mask));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user