Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue #559: Control doesn't have variable if its text is empty
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetEditor.cpp
diff --git
a/src/ModuleBase/ModuleBase_WidgetEditor.cpp
b/src/ModuleBase/ModuleBase_WidgetEditor.cpp
index 1c26b11ebf3b0aa43ee8ac060a66976cfa7c160a..29e07a1f3efb95bb39f6d5c61e9c620b4abc08ac 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetEditor.cpp
+++ b/
src/ModuleBase/ModuleBase_WidgetEditor.cpp
@@
-62,7
+62,7
@@
void editedValue(double& outValue, QString& outText)
double aValue = outText.toDouble(&isDouble);
if (isDouble) {
outValue = aValue;
double aValue = outText.toDouble(&isDouble);
if (isDouble) {
outValue = aValue;
-
//
outText = ""; // return empty string, if it's can be converted to a double
+ outText = ""; // return empty string, if it's can be converted to a double
}
aPopup->deleteLater();
}
}
aPopup->deleteLater();
}