Fixed #859 (technology not assigned on new layout)

This commit is contained in:
Matthias Koefferlein 2021-07-06 22:20:21 +02:00
parent 720057e071
commit 1035923d0f
1 changed files with 1 additions and 0 deletions

View File

@ -2540,6 +2540,7 @@ MainWindow::cm_new_layout ()
if (dialog.exec_dialog (technology, s_new_cell_cell_name, dbu, s_new_cell_window_size, s_layers, m_new_layout_current_panel)) {
std::unique_ptr <lay::LayoutHandle> handle (new lay::LayoutHandle (new db::Layout (& manager ()), std::string ()));
handle->layout ().set_technology_name (technology);
handle->rename ("new");
if (dbu > 1e-10) {