mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-20 21:42:05 +08:00
cabana: fix binary view for can-fd
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