mirror of https://github.com/KLayout/klayout.git
Fixed a potential segfault.
This commit is contained in:
parent
95111f8aa8
commit
b72f819d57
|
|
@ -4739,7 +4739,9 @@ LayoutView::active_library_changed (int /*index*/)
|
|||
void
|
||||
LayoutView::cellview_changed (unsigned int index)
|
||||
{
|
||||
mp_hierarchy_panel->do_update_content (index);
|
||||
if (mp_hierarchy_panel) {
|
||||
mp_hierarchy_panel->do_update_content (index);
|
||||
}
|
||||
|
||||
cellview_changed_event (index);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue