mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Function for search conductor at the same potential.
When the search function is searching in a terminal element, they search only for the first terminal found, no matter if the terminal element have more than two terminals. So the list of conductors at the same potential is missing some conductors. This commit fix it, now the search function search for every terminals of a terminal element git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5307 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -169,6 +169,6 @@ inline QString Terminal::name() const {
|
||||
return(name_terminal_);
|
||||
}
|
||||
|
||||
Terminal * relatedPotentialTerminal (const Terminal *terminal, const bool all_diagram = true);
|
||||
QList<Terminal *> relatedPotentialTerminal (const Terminal *terminal, const bool all_diagram = true);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user