Multi paste dialog : add a check box for allows auto connection of the pasted elements.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5331 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2018-04-12 16:24:44 +00:00
parent ad7f52997d
commit 3228f3e5db
10 changed files with 66 additions and 32 deletions

View File

@@ -999,7 +999,7 @@ bool Diagram::fromXml(QDomElement &document, QPointF position, bool consider_inf
// remplissage des listes facultatives
if (content_ptr) {
content_ptr -> m_elements = added_elements.toSet();
content_ptr -> m_elements = added_elements;
content_ptr -> m_conductors_to_move = added_conductors.toSet();
content_ptr -> m_text_fields = added_texts.toSet();
content_ptr -> m_images = added_images.toSet();