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:
Matthias Koefferlein
2019-08-20 23:38:48 +02:00
parent 908ddbfb5b
commit 6f2d29d05b
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -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);