mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-18 04:43:40 +00:00
Fix calibration bug + improve device shutdown
This commit is contained in:
parent
39a91034d9
commit
69f7c878b9
5 changed files with 18 additions and 14 deletions
|
|
@ -502,10 +502,10 @@ void Preferences::load()
|
|||
for(auto d : descr) {
|
||||
try {
|
||||
d.var.setValue(settings.value(d.name, d.def));
|
||||
qDebug() << "Setting" << d.name << "is set to" << d.var.value();
|
||||
// qDebug() << "Setting" << d.name << "is set to" << d.var.value();
|
||||
} catch (const exception& e){
|
||||
d.var.setValue(d.def);
|
||||
qDebug() << "Setting" << d.name << "reset to default:" << d.def;
|
||||
// qDebug() << "Setting" << d.name << "reset to default:" << d.def;
|
||||
}
|
||||
}
|
||||
nonTrivialParsing();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue