fix crash caused by missing check on editor->own_window()
This commit is contained in:
parent
6d3ee152fe
commit
8a1bfd45f4
|
@ -652,7 +652,8 @@ ARDOUR_UI::toggle_meterbridge ()
|
|||
obscuring = true;
|
||||
}
|
||||
|
||||
if (obscuring && (editor->own_window()->property_has_toplevel_focus() || (mixer->own_window() && mixer->own_window()->property_has_toplevel_focus()))) {
|
||||
if (obscuring && ((editor->own_window() && editor->own_window()->property_has_toplevel_focus()) ||
|
||||
(mixer->own_window() && mixer->own_window()->property_has_toplevel_focus()))) {
|
||||
show = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue