Commit 1d389f1d7d0be9decaadc79796462bbeef9dbc34

Authored by bhklein
1 parent 65672355

file::appendRect instead of set(rects) when labels missing

Showing 1 changed file with 2 additions and 1 deletions
openbr/plugins/gui.cpp
... ... @@ -764,7 +764,8 @@ public:
764 764 }
765 765 else
766 766 {
767   - dst[i].file.set(labelSet[idx], rectSet[idx]);
  767 + if (labels.isEmpty()) dst[i].file.appendRect(rectSet[idx]);
  768 + else dst[i].file.set(labelSet[idx], rectSet[idx]);
768 769 }
769 770 }
770 771 }
... ...