mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 23:13:43 +00:00
support saving of trace data in setup files
This commit is contained in:
parent
7d7bd3a44c
commit
4ad3d3ac54
11 changed files with 82 additions and 26 deletions
|
|
@ -388,6 +388,7 @@ void PreferencesDialog::setInitialGUIState()
|
|||
ui->SCPIServerPort->setValue(p->SCPIServer.port);
|
||||
|
||||
ui->DebugMaxUSBlogSize->setValue(p->Debug.USBlogSizeLimit);
|
||||
ui->DebugSaveTraceData->setChecked(p->Debug.saveTraceData);
|
||||
|
||||
for(auto cd : p->compoundDevices) {
|
||||
ui->compoundList->addItem(cd->getDesription());
|
||||
|
|
@ -491,6 +492,7 @@ void PreferencesDialog::updateFromGUI()
|
|||
p->SCPIServer.port = ui->SCPIServerPort->value();
|
||||
|
||||
p->Debug.USBlogSizeLimit = ui->DebugMaxUSBlogSize->value();
|
||||
p->Debug.saveTraceData = ui->DebugSaveTraceData->isChecked();
|
||||
|
||||
p->nonTrivialWriting();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue