diff --git a/sources/utils/conductorcreator.cpp b/sources/utils/conductorcreator.cpp index 2b09ba61b..4a950d07a 100644 --- a/sources/utils/conductorcreator.cpp +++ b/sources/utils/conductorcreator.cpp @@ -23,6 +23,7 @@ #include "potentialselectordialog.h" #include "diagramcommands.h" #include "conductorautonumerotation.h" +#include "element.h" #include @@ -160,6 +161,13 @@ QList ConductorCreator::existingPotential() } } } + else if (t->parentElement()->linkType() & Element::AllReport && !t->parentElement()->isFree()) + { + Element *linked_report = t->parentElement()->linkedElements().first(); + if (!linked_report->conductors().isEmpty()) { + c_list.append(linked_report->conductors().first()); + } + } } return c_list;