BUGFIX (general): closing a cellview did not adjust the hidden cell flags properly.

This commit is contained in:
Matthias Koefferlein 2019-05-04 21:54:06 +02:00
parent 4c31d5ed1b
commit 6cf4df1cb1
1 changed files with 4 additions and 0 deletions

View File

@ -2313,6 +2313,10 @@ LayoutView::erase_cellview (unsigned int index)
m_cellviews.erase (cellview_iter (int (index)));
if (m_hidden_cells.size () > index) {
m_hidden_cells.erase (m_hidden_cells.begin () + index);
}
for (unsigned int lindex = 0; lindex < layer_lists (); ++lindex) {
// remove all references to the cellview