Increment per item, not per merge record.
This commit is contained in:
+12
-12
@@ -97,6 +97,18 @@ namespace glabels
|
||||
}
|
||||
|
||||
|
||||
///
|
||||
/// Increment variables on item
|
||||
///
|
||||
void Variables::incrementVariablesOnItem()
|
||||
{
|
||||
for ( auto& v : *this )
|
||||
{
|
||||
v.incrementValueOnItem();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
///
|
||||
/// Increment variables on copy
|
||||
///
|
||||
@@ -109,18 +121,6 @@ namespace glabels
|
||||
}
|
||||
|
||||
|
||||
///
|
||||
/// Increment variables on merge record
|
||||
///
|
||||
void Variables::incrementVariablesOnMerge()
|
||||
{
|
||||
for ( auto& v : *this )
|
||||
{
|
||||
v.incrementValueOnMerge();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
///
|
||||
/// Increment variables on page
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user