Trace all nets: open the layer stack config dialog on the right screen

This commit is contained in:
Matthias Koefferlein 2023-12-01 22:24:49 +01:00
parent a9694b5fb3
commit 832d29d2e0
1 changed files with 1 additions and 1 deletions

View File

@ -1337,7 +1337,7 @@ BEGIN_PROTECTED
db::Technology tech = *db::Technologies::instance ()->technology_by_name (tech_name);
// call the dialog and if successful, install the new technology
lay::TechComponentSetupDialog dialog (this, &tech, db::net_tracer_component_name ());
lay::TechComponentSetupDialog dialog (isVisible () ? this : parentWidget (), &tech, db::net_tracer_component_name ());
if (dialog.exec ()) {
*db::Technologies::instance ()->technology_by_name (tech.name ()) = tech;
update_list_of_stacks ();