Remove the real terminal uuid, and use instead the uuid of the terminal element itself

This commit is contained in:
joshua
2022-02-09 18:13:35 +01:00
parent c037d3ea0a
commit ffd904749e
4 changed files with 2 additions and 13 deletions

View File

@@ -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;
}
}