mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-04 22:17:31 +00:00
Set initial devicelog line limit
This commit is contained in:
parent
5499bcf8f3
commit
5ed3547d3d
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue