mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-01 02:18:09 +02:00
Fixed isse #1253
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user