mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-20 12:26:07 +01:00
do not crash if Editor::map_transport_state() is called without a session in place
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6827 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
498759088b
commit
bb975dae37
1 changed files with 1 additions and 1 deletions
|
|
@ -3265,7 +3265,7 @@ Editor::map_transport_state ()
|
|||
{
|
||||
ENSURE_GUI_THREAD (mem_fun(*this, &Editor::map_transport_state));
|
||||
|
||||
if (session->transport_stopped()) {
|
||||
if (session && session->transport_stopped()) {
|
||||
have_pending_keyboard_selection = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue