mirror of https://github.com/KLayout/klayout.git
Fixed a segfault when running a PCell definition macro (segfault happened in update of library view because the library was gone). Fixed a dialog title.
This commit is contained in:
parent
908ddbfb5b
commit
6f2d29d05b
|
|
@ -11,7 +11,7 @@
|
|||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Instantiation Path</string>
|
||||
<string>PCell Parameters</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
|
|
|
|||
|
|
@ -588,10 +588,6 @@ LibrariesView::do_update_content (int lib_index)
|
|||
m_force_close [i] = true;
|
||||
}
|
||||
|
||||
if (m_needs_update [i]) {
|
||||
mp_cell_lists [i]->doItemsLayout (); // triggers a redraw
|
||||
}
|
||||
|
||||
m_libraries [i].reset (libraries [i]);
|
||||
|
||||
}
|
||||
|
|
@ -715,6 +711,8 @@ LibrariesView::do_update_content (int lib_index)
|
|||
|
||||
m_needs_update [i] = false;
|
||||
|
||||
mp_cell_lists [i]->doItemsLayout (); // triggers a redraw -> the model might need this
|
||||
|
||||
}
|
||||
|
||||
mp_cell_list_headers [i]->setVisible (split_mode && m_libraries.size () > 1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue