mirror of https://github.com/KLayout/klayout.git
Force update of cell tree after rename of library
This commit is contained in:
parent
bbd473ef47
commit
ce0d619470
|
|
@ -282,6 +282,9 @@ Library::remap_to (db::Library *other)
|
|||
// Do a cleanup later since the referrers now might have invalid proxy instances
|
||||
for (std::set<db::Layout *>::const_iterator c = needs_cleanup.begin (); c != needs_cleanup.end (); ++c) {
|
||||
(*c)->cleanup ();
|
||||
// forces an update of the cell tree in the application - this will reflect the changed name
|
||||
// of the library reference
|
||||
(*c)->invalidate_hier ();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue