Fix crash when setting automation mode on non-region automation tracks.

git-svn-id: svn://localhost/ardour2/branches/3.0@3812 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2008-09-26 21:02:33 +00:00
parent 5e7abcecc4
commit 4d594d08e9
1 changed files with 2 additions and 1 deletions

View File

@ -266,7 +266,8 @@ AutomationTimeAxisView::set_automation_state (AutoState state)
if (_control->list())
_control->alist()->set_automation_state(state);
}
_view->set_automation_state (state);
if (_view)
_view->set_automation_state (state);
}
void