Commit a4b2e9e75689412a08df361dab22d04ff75b2fbd
1 parent
41abd784
Fixed comparison split bug
Showing
1 changed file
with
1 additions
and
0 deletions
openbr/openbr_plugin.h
| @@ -457,6 +457,7 @@ struct TemplateList : public QList<Template> | @@ -457,6 +457,7 @@ struct TemplateList : public QList<Template> | ||
| 457 | while (index < t.size()) { | 457 | while (index < t.size()) { |
| 458 | for (int i=0; i<partitionSizes.size(); i++) { | 458 | for (int i=0; i<partitionSizes.size(); i++) { |
| 459 | Template newTemplate; | 459 | Template newTemplate; |
| 460 | + newTemplate.file = t.file; | ||
| 460 | for (int j=0; j<partitionSizes[i]; j++) { | 461 | for (int j=0; j<partitionSizes[i]; j++) { |
| 461 | newTemplate.append(t[index]); | 462 | newTemplate.append(t[index]); |
| 462 | index++; | 463 | index++; |