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

pull/26732/head
Dean Lee 2 years ago committed by GitHub
parent 7006230e08
commit 6bea668e35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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