fix logic (and possible segfault if !editor)
This commit is contained in:
parent
4a17f9e941
commit
47f4005dbc
@ -2280,7 +2280,7 @@ ARDOUR_UI::map_transport_state ()
|
||||
void
|
||||
ARDOUR_UI::update_clocks ()
|
||||
{
|
||||
if (!editor || !editor->dragging_playhead()) {
|
||||
if (editor && !editor->dragging_playhead()) {
|
||||
Clock (_session->audible_frame(), false, editor->get_preferred_edit_position()); /* EMIT_SIGNAL */
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user