mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-05 06:25:16 +00:00
allow variable x when checking if from math formula is valid
This commit is contained in:
parent
8a172d7f40
commit
c808c6d4e4
1 changed files with 3 additions and 0 deletions
|
|
@ -427,6 +427,9 @@ QString Trace::getMathFormulaError() const
|
|||
break;
|
||||
}
|
||||
}
|
||||
if(varName == "x") {
|
||||
found = true;
|
||||
}
|
||||
if(!found) {
|
||||
return "Unknown variable: "+varName;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue