mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-20 21:42:05 +08:00
Cabana: fix the binaryview is not updated correctly (#26731)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user