At the moment variable names used in the FunctionValuesDialog can be same than predefined function or constant names. This results in unexpected results in the column. To prevent this, it will be checked if the variable name is equal to the predefined names and the generation is blocked if they are equal. So the user has to change the variable name.
Details
Details
Diff Detail
Diff Detail
- Repository
- R262 LabPlot
- Lint
Lint Skipped - Unit
Unit Tests Skipped
src/kdefrontend/spreadsheet/FunctionValuesDialog.cpp | ||
---|---|---|
163 ↗ | (On Diff #60432) | why not to search with constants().indexOf(name) and comparing the found index with -1? |