mirror of https://github.com/KLayout/klayout.git
Fixed a segfault with simple 'klayout -v'
This commit is contained in:
parent
c837b306be
commit
7d3449e126
|
|
@ -1474,7 +1474,7 @@ GuiApplication::start_recording ()
|
||||||
lay::Dispatcher *
|
lay::Dispatcher *
|
||||||
GuiApplication::dispatcher () const
|
GuiApplication::dispatcher () const
|
||||||
{
|
{
|
||||||
return mp_mw->dispatcher ();
|
return mp_mw ? mp_mw->dispatcher () : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue