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 #3052: Conflicting constraint after trim ellipse
[modules/shaper.git]
/
src
/
GeomValidators
/
GeomValidators_MinObjectsSelected.cpp
diff --git
a/src/GeomValidators/GeomValidators_MinObjectsSelected.cpp
b/src/GeomValidators/GeomValidators_MinObjectsSelected.cpp
index 56f93b2bfaf7763eb1223a4dd1b42f320807f10d..ca3ebc7a2aef4c871355f0c678c700ca4844d958 100644
(file)
--- a/
src/GeomValidators/GeomValidators_MinObjectsSelected.cpp
+++ b/
src/GeomValidators/GeomValidators_MinObjectsSelected.cpp
@@
-52,7
+52,7
@@
bool GeomValidators_MinObjectsSelected::isValid(const std::shared_ptr<ModelAPI_F
if(anObjectsNb < aMinObjectsNb) {
theError = "Error: Attribute \"%1\" should contain at least %2 items.";
if(anObjectsNb < aMinObjectsNb) {
theError = "Error: Attribute \"%1\" should contain at least %2 items.";
- theError.arg(aSelectionListId).arg(
theArguments.back()
);
+ theError.arg(aSelectionListId).arg(
aMinObjectsNb
);
return false;
}
return false;
}