mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-07 15:33:51 +00:00
different marker types for VNA/SA, added TOI measurement
This commit is contained in:
parent
398db2253d
commit
41f99148b7
6 changed files with 203 additions and 80 deletions
|
|
@ -242,8 +242,10 @@ QWidget *MarkerSettingsDelegate::createEditor(QWidget *parent, const QStyleOptio
|
|||
auto marker = model->getMarkers()[index.row()];
|
||||
marker->editingFrequeny = true;
|
||||
auto e = marker->getSettingsEditor();
|
||||
e->setParent(parent);
|
||||
connect(e, &SIUnitEdit::valueUpdated, this, &MarkerSettingsDelegate::commitData);
|
||||
if(e) {
|
||||
e->setParent(parent);
|
||||
connect(e, &SIUnitEdit::valueUpdated, this, &MarkerSettingsDelegate::commitData);
|
||||
}
|
||||
return e;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue