Skip to content

Commit

Permalink
Fix input of max value for number argument (value in min field was us…
Browse files Browse the repository at this point in the history
…ed) (issue #154)
hanna-kn committed Jul 25, 2024
1 parent e336388 commit 622a512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functioneditdialog.cpp
Original file line number Diff line number Diff line change
@@ -654,7 +654,7 @@ Argument *ArgumentEditDialog::createArgument() {
((NumberArgument*) arg)->setIncludeEqualsMin(includeMinBox->isChecked());
}
if(maxBox->isChecked()) {
QString str = minEdit->cleanText();
QString str = maxEdit->cleanText();
int i = str.indexOf(",");
if(i > 0) {
if(str.indexOf(".", i) > 0) {

0 comments on commit 622a512

Please sign in to comment.