Fix clearing automation
Due to refactoring ind41e66f169
and83ad0a10b5
Automation > Clear re-displayed the line on mouse-over, even if there are no events. Then trying to interact with he line caused segfaults because the actual control points no longer exist.
This commit is contained in:
parent
910b637326
commit
e819af1948
@ -990,6 +990,7 @@ AutomationLine::reset_callback (const Evoral::ControlList& events)
|
||||
}
|
||||
control_points.clear ();
|
||||
line->hide();
|
||||
line_points.clear ();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user