Fix problem when really old elements are added to a new project. These elements do not have an uuid for each terminal. So when exporting, save an unique ID into the terminal. So the conductors know to which terminal they must be connected

This commit is contained in:
Martin Marmsoler
2021-03-14 11:49:01 +01:00
parent 2a4416469a
commit 539de96455
3 changed files with 37 additions and 1 deletions

View File

@@ -257,6 +257,13 @@ class Diagram : public QGraphicsScene
NumerotationContext *nc);
void changeZValue(QET::DepthOption option);
/*!
* \brief uniqueTerminalID
* Determines a new unique Terminal ID
* This is used only for legacy purpose
*/
int uniqueTerminalID() const;
public slots:
void adjustSceneRect ();
void titleChanged(const QString &);