clearing note selection in internal edit mode also deselects regions
This commit is contained in:
parent
8386874a03
commit
6bd12a4e83
@ -2133,9 +2133,7 @@ MidiRegionView::delete_note (boost::shared_ptr<NoteType> n)
|
||||
void
|
||||
MidiRegionView::clear_selection ()
|
||||
{
|
||||
clear_selection_internal();
|
||||
PublicEditor& editor(trackview.editor());
|
||||
editor.get_selection().remove (this);
|
||||
clear_note_selection ();
|
||||
_mouse_state = None;
|
||||
}
|
||||
|
||||
@ -2151,6 +2149,14 @@ MidiRegionView::clear_selection_internal ()
|
||||
_selection.clear();
|
||||
}
|
||||
|
||||
void
|
||||
MidiRegionView::clear_note_selection ()
|
||||
{
|
||||
clear_selection_internal ();
|
||||
PublicEditor& editor(trackview.editor());
|
||||
editor.get_selection().remove (this);
|
||||
}
|
||||
|
||||
void
|
||||
MidiRegionView::unique_select(NoteBase* ev)
|
||||
{
|
||||
|
@ -370,7 +370,7 @@ public:
|
||||
protected:
|
||||
friend class Editor;
|
||||
|
||||
void clear_note_selection () { clear_selection_internal(); }
|
||||
void clear_note_selection ();
|
||||
|
||||
void move_note_starts_earlier_fine () { change_note_lengths (true, false, Temporal::Beats(), true, false); }
|
||||
void move_note_starts_earlier () { change_note_lengths (false, false, Temporal::Beats(), true, false); }
|
||||
|
Loading…
Reference in New Issue
Block a user