really, really do not signal MidiRegionView::SelectionCleared during destruction
git-svn-id: svn://localhost/ardour2/branches/3.0@12783 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d9709b8457
commit
aea9601307
|
@ -928,9 +928,9 @@ MidiRegionView::create_note_at (framepos_t t, double y, double length, bool snap
|
|||
}
|
||||
|
||||
void
|
||||
MidiRegionView::clear_events()
|
||||
MidiRegionView::clear_events (bool with_selection_signal)
|
||||
{
|
||||
clear_selection();
|
||||
clear_selection (with_selection_signal);
|
||||
|
||||
MidiGhostRegion* gr;
|
||||
for (std::vector<GhostRegion*>::iterator g = ghosts.begin(); g != ghosts.end(); ++g) {
|
||||
|
@ -1319,7 +1319,7 @@ MidiRegionView::~MidiRegionView ()
|
|||
_selection_cleared_connection.disconnect ();
|
||||
|
||||
_selection.clear();
|
||||
clear_events();
|
||||
clear_events (false);
|
||||
|
||||
delete _note_group;
|
||||
delete _note_diff_command;
|
||||
|
|
|
@ -348,7 +348,7 @@ private:
|
|||
void start_playing_midi_note (boost::shared_ptr<NoteType> note);
|
||||
void start_playing_midi_chord (std::vector<boost::shared_ptr<NoteType> > notes);
|
||||
|
||||
void clear_events();
|
||||
void clear_events (bool with_selection_signal = true);
|
||||
|
||||
bool canvas_event(GdkEvent* ev);
|
||||
bool note_canvas_event(GdkEvent* ev);
|
||||
|
|
Loading…
Reference in New Issue
Block a user