mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-16 23:02:07 +08:00
Revert "cabana: fix binary view for can-fd"
This reverts commit 245f706821382e47367c6379fb0462d21d686304. old-commit-hash: 9a8bd8c0975673a2831ca8af7629d22063b5f8fa
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(), 64) + 2);
|
||||
setFixedHeight((CELL_HEIGHT + 1) * std::min(model->rowCount(), 8) + 2);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user