mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-29 17:30:09 +02:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user