mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-02-18 21:44:15 +01:00
allow variable x when checking if from math formula is valid
This commit is contained in:
parent
8a172d7f40
commit
c808c6d4e4
|
|
@ -427,6 +427,9 @@ QString Trace::getMathFormulaError() const
|
|||
break;
|
||||
}
|
||||
}
|
||||
if(varName == "x") {
|
||||
found = true;
|
||||
}
|
||||
if(!found) {
|
||||
return "Unknown variable: "+varName;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue