mirror of https://github.com/KLayout/klayout.git
BUGFIX (general): closing a cellview did not adjust the hidden cell flags properly.
This commit is contained in:
parent
4c31d5ed1b
commit
6cf4df1cb1
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue