mirror of https://github.com/KLayout/klayout.git
Bugfix: properly supporting Undo on 'apply technology' (layer properties were cleared)
This commit is contained in:
parent
5eb8c760d8
commit
ef2b164e1a
|
|
@ -2642,7 +2642,9 @@ LayoutViewBase::signal_apply_technology (lay::LayoutHandle *layout_handle)
|
||||||
|
|
||||||
// remove all references to the cellview in the layer properties
|
// remove all references to the cellview in the layer properties
|
||||||
for (unsigned int lindex = 0; lindex < layer_lists (); ++lindex) {
|
for (unsigned int lindex = 0; lindex < layer_lists (); ++lindex) {
|
||||||
m_layer_properties_lists [lindex]->remove_cv_references (i);
|
lay::LayerPropertiesList props = *m_layer_properties_lists [lindex];
|
||||||
|
props.remove_cv_references (i);
|
||||||
|
set_properties (lindex, props);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if a layer properties file is set, create the layer properties now
|
// if a layer properties file is set, create the layer properties now
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue