mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-29 01:14:35 +02:00
Fixed a segfault with simple 'klayout -v'
This commit is contained in:
@@ -1474,7 +1474,7 @@ GuiApplication::start_recording ()
|
||||
lay::Dispatcher *
|
||||
GuiApplication::dispatcher () const
|
||||
{
|
||||
return mp_mw->dispatcher ();
|
||||
return mp_mw ? mp_mw->dispatcher () : 0;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user