Fix crash when splitting regions in internal edit mode.
This commit is contained in:
parent
df40782b62
commit
3f8251962f
@ -97,6 +97,10 @@ AutomationRegionView::create_line (boost::shared_ptr<ARDOUR::AutomationList> lis
|
||||
bool
|
||||
AutomationRegionView::canvas_group_event (GdkEvent* ev)
|
||||
{
|
||||
if (in_destructor) {
|
||||
return false;
|
||||
}
|
||||
|
||||
PublicEditor& e = trackview.editor ();
|
||||
|
||||
if (ev->type == GDK_BUTTON_PRESS && e.current_mouse_mode() == Editing::MouseObject) {
|
||||
|
@ -312,6 +312,10 @@ MidiRegionView::connect_to_diskstream ()
|
||||
bool
|
||||
MidiRegionView::canvas_group_event(GdkEvent* ev)
|
||||
{
|
||||
if (in_destructor) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool r;
|
||||
|
||||
switch (ev->type) {
|
||||
|
Loading…
Reference in New Issue
Block a user