mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-01-25 18:10:15 +01:00
Set initial devicelog line limit
This commit is contained in:
parent
5499bcf8f3
commit
5ed3547d3d
|
|
@ -21,8 +21,9 @@ DeviceLog::DeviceLog(QWidget *parent) :
|
|||
ui->numLines->setEnabled(false);
|
||||
}
|
||||
});
|
||||
ui->text->setMaximumBlockCount(ui->numLines->value());
|
||||
connect(ui->numLines, qOverload<int>(&QSpinBox::valueChanged), [=](int lines) {
|
||||
ui->text->setMaximumBlockCount(lines );
|
||||
ui->text->setMaximumBlockCount(lines);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue