From 832d29d2e01cf2014bbc0e99a06e3364fe9ef20d Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Fri, 1 Dec 2023 22:24:49 +0100 Subject: [PATCH] Trace all nets: open the layer stack config dialog on the right screen --- src/plugins/tools/net_tracer/lay_plugin/layNetTracerDialog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/tools/net_tracer/lay_plugin/layNetTracerDialog.cc b/src/plugins/tools/net_tracer/lay_plugin/layNetTracerDialog.cc index c3248abf6..a3fba85bc 100644 --- a/src/plugins/tools/net_tracer/lay_plugin/layNetTracerDialog.cc +++ b/src/plugins/tools/net_tracer/lay_plugin/layNetTracerDialog.cc @@ -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 ();