[qet] qet/qet: [4776] Fix minor regression : in some case, %id isn' t replaced by the folio index, in label of element |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 4776
Author: blacksun
Date: 2016-11-13 20:12:15 +0100 (Sun, 13 Nov 2016)
Log Message:
-----------
Fix minor regression : in some case, %id isn't replaced by the folio index, in label of element
Modified Paths:
--------------
trunk/sources/autoNum/assignvariables.cpp
Modified: trunk/sources/autoNum/assignvariables.cpp
===================================================================
--- trunk/sources/autoNum/assignvariables.cpp 2016-11-11 16:37:37 UTC (rev 4775)
+++ trunk/sources/autoNum/assignvariables.cpp 2016-11-13 19:12:15 UTC (rev 4776)
@@ -48,10 +48,10 @@
{
if (m_diagram)
{
+ m_assigned_label.replace("%F", m_diagram -> border_and_titleblock.folio());
m_assigned_label.replace("%f", QString::number(m_diagram->folioIndex()+1));
m_assigned_label.replace("%id", QString::number(m_diagram->folioIndex()+1));
m_assigned_label.replace("%total", QString::number(m_diagram->border_and_titleblock.folioTotal()));
- m_assigned_label.replace("%F", m_diagram -> border_and_titleblock.folio());
m_assigned_label.replace("%M", m_diagram -> border_and_titleblock.machine());
m_assigned_label.replace("%LM", m_diagram -> border_and_titleblock.locmach());