mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-15 06:09:58 +01:00
Remove the real terminal uuid, and use instead the uuid of the terminal element itself
This commit is contained in:
@@ -250,7 +250,7 @@ QSharedPointer<RealTerminal> TerminalStrip::realTerminal(Element *terminal) cons
|
||||
QSharedPointer<RealTerminal> TerminalStrip::realTerminalForUuid(const QUuid &uuid) const
|
||||
{
|
||||
for (const auto &t : qAsConst(m_real_terminals)) {
|
||||
if (t->uuid() == uuid) {
|
||||
if (t->elementUuid() == uuid) {
|
||||
return t;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user