Increment per item, not per merge record.

This commit is contained in:
Jim Evins
2019-03-24 22:33:40 -04:00
parent efbb052856
commit 54a66dfd8f
7 changed files with 34 additions and 33 deletions
+2 -1
View File
@@ -283,6 +283,7 @@ namespace glabels
iLabel++;
iCurrentPage = iLabel / mNLabelsPerPage;
mVariables->incrementVariablesOnItem();
mVariables->incrementVariablesOnCopy();
if ( (iLabel % mNLabelsPerPage) == 0 /* starting a new page */ )
{
@@ -341,7 +342,7 @@ namespace glabels
iLabel++;
iCurrentPage = iLabel / mNLabelsPerPage;
mVariables->incrementVariablesOnMerge();
mVariables->incrementVariablesOnItem();
if ( iRecord == 0 )
{
mVariables->incrementVariablesOnCopy();