When we link two reports together, if the text is the same for every conductors, we don't ask to user what to do, even if the function or the tension/protocol are not identical.

Now we check : text, function and tension/protocol, if one of these three values is not identical, we ask to user what to do.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5032 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2017-08-27 11:27:41 +00:00
parent 48778d901c
commit 31775871a4
4 changed files with 40 additions and 35 deletions

View File

@@ -38,8 +38,6 @@ class LinkElementCommand : public QUndoCommand
static bool isLinkable (Element *element_a, Element *element_b, bool already_linked = false);
void addLink (QList<Element *> element_list);
void addLink (Element *element_);
void setLink (QList<Element *> element_list);
void setLink (Element *element_);
void unlink (QList<Element *> element_list);