mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Fix clearing automation
Due to refactoring ind41e66f169and83ad0a10b5Automation > 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
1 changed files with 1 additions and 0 deletions
|
|
@ -990,6 +990,7 @@ AutomationLine::reset_callback (const Evoral::ControlList& events)
|
|||
}
|
||||
control_points.clear ();
|
||||
line->hide();
|
||||
line_points.clear ();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue