Cabana: fix the binaryview is not updated correctly (#26731)

old-commit-hash: 6bea668e35
taco
Dean Lee 3 years ago committed by GitHub
parent 2d49d819d3
commit 161b2a8902
  1. 2
      tools/cabana/binaryview.cc

@ -202,7 +202,7 @@ void BinaryViewModel::updateState() {
}
}
for (int i = 0; i < row_count; ++i) {
for (int i = 0; i < row_count * column_count; ++i) {
if (i >= prev_items.size() || prev_items[i].val != items[i].val) {
auto idx = index(i / column_count, i % column_count);
emit dataChanged(idx, idx);

Loading…
Cancel
Save