+ fix problem with values > 1000 in quantity spinbox
This commit is contained in:
@@ -129,12 +129,12 @@ public:
|
||||
state = QValidator::Invalid;
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
for (int i=dec + 1; i<copy.size(); ++i) {
|
||||
// a group separator after the decimal point is not allowed
|
||||
if (copy.at(i) == locale.groupSeparator()) {
|
||||
state = QValidator::Invalid;
|
||||
goto end;
|
||||
for (int i=dec + 1; i<copy.size(); ++i) {
|
||||
// a group separator after the decimal point is not allowed
|
||||
if (copy.at(i) == locale.groupSeparator()) {
|
||||
state = QValidator::Invalid;
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user