mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 19:12:07 +08:00
Cabana: fix wrong hardcoded column index (#26392)
fix wrong column count old-commit-hash: ea5587d1d14e01b7a2aeae34f8abc73886699519
This commit is contained in:
@@ -224,7 +224,7 @@ void MessageListModel::updateState(bool sort) {
|
||||
changePersistentIndex(idx, index(std::distance(msgs.begin(), it), idx.column()));
|
||||
}
|
||||
}
|
||||
emit dataChanged(index(0, 0), index(msgs.size() - 1, 3), {Qt::DisplayRole});
|
||||
emit dataChanged(index(0, 0), index(msgs.size() - 1, columnCount() - 1), {Qt::DisplayRole});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user