mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-10-01 03:43:46 +08:00
cabana: fix binary view for can-fd
old-commit-hash: 98cac3578b2d0d2e4db283a728f647bc71825bfb
This commit is contained in:
@@ -25,7 +25,7 @@ BinaryView::BinaryView(QWidget *parent) : QTableView(parent) {
|
||||
delete old_model;
|
||||
|
||||
QObject::connect(model, &QAbstractItemModel::modelReset, [this]() {
|
||||
setFixedHeight((CELL_HEIGHT + 1) * std::min(model->rowCount(), 8) + 2);
|
||||
setFixedHeight((CELL_HEIGHT + 1) * std::min(model->rowCount(), 64) + 2);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user