[qet] qet/qet: [4830] Fix wrong conductor autonum/ formula when linking two folio report with two existing potential.

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 4830
Author:   blacksun
Date:     2017-01-02 19:46:19 +0100 (Mon, 02 Jan 2017)
Log Message:
-----------
Fix wrong conductor autonum/formula when linking two folio report with two existing potential.
The new potential number isn't apply well.
This commit should be the last step for fix the bug report N° 118. 

Modified Paths:
--------------
    trunk/sources/ui/potentialselectordialog.cpp

Modified: trunk/sources/ui/potentialselectordialog.cpp
===================================================================
--- trunk/sources/ui/potentialselectordialog.cpp	2017-01-02 18:15:18 UTC (rev 4829)
+++ trunk/sources/ui/potentialselectordialog.cpp	2017-01-02 18:46:19 UTC (rev 4830)
@@ -130,8 +130,11 @@
 
 				m_properties_1 = report->conductors().first()->properties();
 				m_conductor_number_1 = report->conductors().first()->relatedPotentialConductors().size() + 1;
+				m_seq_num_1 = report->conductors().first()->sequenceNum();
+
 				m_properties_2 = other_report->conductors().first()->properties();
 				m_conductor_number_2 = other_report->conductors().first()->relatedPotentialConductors().size() + 1;
+				m_seq_num_2 = other_report->conductors().first()->sequenceNum();
 
 					//We relink the report
 				report->linkToElement(other_report);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/