mirror of https://github.com/KLayout/klayout.git
Fixed #859 (technology not assigned on new layout)
This commit is contained in:
parent
720057e071
commit
1035923d0f
|
|
@ -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)) {
|
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 ()));
|
std::unique_ptr <lay::LayoutHandle> handle (new lay::LayoutHandle (new db::Layout (& manager ()), std::string ()));
|
||||||
|
handle->layout ().set_technology_name (technology);
|
||||||
handle->rename ("new");
|
handle->rename ("new");
|
||||||
|
|
||||||
if (dbu > 1e-10) {
|
if (dbu > 1e-10) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue