mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-08 16:03: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
|
|
@ -63,12 +63,13 @@ TraceEditDialog::TraceEditDialog(Trace &t, QWidget *parent) :
|
|||
|
||||
ui->GSource->setId(ui->bLive, 0);
|
||||
ui->GSource->setId(ui->bFile, 1);
|
||||
ui->GSource->setId(ui->bFile, 2);
|
||||
ui->GSource->setId(ui->bMath, 2);
|
||||
|
||||
if(t.getSource() == Trace::Source::Calibration) {
|
||||
// prevent editing imported calibration traces (and csv files for now)
|
||||
ui->bLive->setEnabled(false);
|
||||
ui->bFile->setEnabled(false);
|
||||
ui->bMath->setEnabled(false);
|
||||
ui->CLiveType->setEnabled(false);
|
||||
ui->CLiveParam->setEnabled(false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue