mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-21 16:50:53 +01:00
read terminal uuid in Terminal and do not write terminal uuid from TerminalData, because Terminal just reads it, only PartTerminal writes the uuid
This commit is contained in:
@@ -809,8 +809,8 @@ bool Terminal::valideXml(const QDomElement &terminal)
|
||||
*/
|
||||
bool Terminal::fromXmlPriv(const QDomElement &terminal) {
|
||||
QETXML::propertyString(terminal, "number", &number_terminal_);
|
||||
|
||||
QETXML::propertyBool(terminal, "nameHidden", &name_terminal_hidden);
|
||||
QETXML::propertyUuid(terminal, "uuid", &d->m_uuid);
|
||||
|
||||
if(!d->fromXml(terminal))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user