From caf81b924b7681c8621ffe28840e9ee09ae342d3 Mon Sep 17 00:00:00 2001 From: blacksun Date: Mon, 2 Jan 2017 18:46:19 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20wrong=20conductor=20autonum/formula=20whe?= =?UTF-8?q?n=20linking=20two=20folio=20report=20with=20two=20existing=20po?= =?UTF-8?q?tential.=20The=20new=20potential=20number=20isn't=20apply=20wel?= =?UTF-8?q?l.=20This=20commit=20should=20be=20the=20last=20step=20for=20fi?= =?UTF-8?q?x=20the=20bug=20report=20N=C2=B0=20118.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4830 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/ui/potentialselectordialog.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sources/ui/potentialselectordialog.cpp b/sources/ui/potentialselectordialog.cpp index 99f13d7c3..c8857c777 100644 --- a/sources/ui/potentialselectordialog.cpp +++ b/sources/ui/potentialselectordialog.cpp @@ -130,8 +130,11 @@ class LinkReportPotentialSelector : public AbstractPotentialSelector 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);