Fixed a segfault with simple 'klayout -v'

This commit is contained in:
Matthias Koefferlein 2021-02-03 08:50:21 +01:00
parent c837b306be
commit 7d3449e126
1 changed files with 1 additions and 1 deletions

View File

@ -1474,7 +1474,7 @@ GuiApplication::start_recording ()
lay::Dispatcher *
GuiApplication::dispatcher () const
{
return mp_mw->dispatcher ();
return mp_mw ? mp_mw->dispatcher () : 0;
}
void