mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 12:45:45 +01:00
fix logic (and possible segfault if !editor)
This commit is contained in:
parent
4a17f9e941
commit
47f4005dbc
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue