Skip to content

Commit 54d8d4a

Browse files
committed
ui now reject correctly values for micmac step value and spatial resolution > 999.999)
1 parent 0a03f4b commit 54d8d4a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sourceCode/application/ui/micmacStepValueAndSpatialResolution/widget_micmacstepvalueandspatialresolution.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,14 @@ bool Widget_MicMacStepValueAndSpatialResolution::updateFieldAndWidget(const QStr
5858
bMatch = string_isNotStringNumericZeroValue_and_totalCharIsEqualOrUnder(text, 7);
5959
}
6060
if (bMatch) {
61-
bMatch = stringNumericValue_isComplianWithMaxBeforeDottMaxAfterDot(text, 4, 4);
61+
bMatch = stringNumericValue_isComplianWithMaxBeforeDottMaxAfterDot(text, 3, 4);
6262
}
6363

6464
bool bValidityBefore = bValid;
6565
bValid = bMatch;
6666

6767
if (bMatch) {
68-
6968
qlineEditPtr->setStyleSheet("");
70-
7169
qstr = qlineEditPtr->text();
7270
} else {
7371
qlineEditPtr->setStyleSheet("QLineEdit { color: rgb(255, 0, 0); }");

0 commit comments

Comments
 (0)