mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
Fix crash on clear option for automation tracks (#3195). Also fix state change signalling so that lines reappear on undoing a clear.
git-svn-id: svn://localhost/ardour2/branches/3.0@7178 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
5a58f4381b
commit
d0d160e566
3 changed files with 5 additions and 5 deletions
|
|
@ -385,11 +385,10 @@ AutomationTimeAxisView::set_interpolation (AutomationList::InterpolationStyle st
|
|||
void
|
||||
AutomationTimeAxisView::clear_clicked ()
|
||||
{
|
||||
_session->begin_reversible_command (_("clear automation"));
|
||||
if (_line) {
|
||||
_session->begin_reversible_command (_("clear automation"));
|
||||
_line->clear ();
|
||||
}
|
||||
_session->commit_reversible_command ();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue