mirror of https://github.com/KLayout/klayout.git
Fixed isse #1253
This commit is contained in:
parent
cd2535af09
commit
bc63a1cd40
|
|
@ -3402,12 +3402,12 @@ LayoutViewBase::load_layout (const std::string &filename, const db::LoadLayoutOp
|
|||
std::vector <db::cell_index_type> p;
|
||||
p.push_back (*top);
|
||||
select_cell (p, cv_index);
|
||||
} else {
|
||||
// even if there is no cell, select the cellview item
|
||||
// to support applications with an active cellview (that is however invalid)
|
||||
set_active_cellview_index (cv_index);
|
||||
}
|
||||
|
||||
// even if there is no cell, select the cellview item
|
||||
// to support applications with an active cellview (that is however invalid)
|
||||
set_active_cellview_index (cv_index);
|
||||
|
||||
bool add_other_layers = m_add_other_layers;
|
||||
|
||||
// Use the "layer-properties-file" meta info from the handle to get the layer properties file.
|
||||
|
|
|
|||
|
|
@ -1258,9 +1258,8 @@ LayoutView::set_active_cellview_index (int index)
|
|||
if (index >= 0 && index < int (cellviews ())) {
|
||||
if (mp_hierarchy_panel) {
|
||||
mp_hierarchy_panel->select_active (index);
|
||||
} else {
|
||||
LayoutViewBase::set_active_cellview_index (index);
|
||||
}
|
||||
LayoutViewBase::set_active_cellview_index (index);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue