D22023: Don't allow variable names equal to function or constant names
Martin Marmsoler
noreply at phabricator.kde.org
Sun Jun 23 11:22:25 BST 2019
Murmele created this revision.
Murmele added a reviewer: asemke.
Murmele added a project: LabPlot.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
Murmele requested review of this revision.
REVISION SUMMARY
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.
REPOSITORY
R262 LabPlot
REVISION DETAIL
https://phabricator.kde.org/D22023
AFFECTED FILES
src/kdefrontend/spreadsheet/FunctionValuesDialog.cpp
src/kdefrontend/spreadsheet/FunctionValuesDialog.h
To: Murmele, asemke
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20190623/0416de55/attachment-0001.html>
More information about the kde-edu
mailing list