diff --git a/src/Gui/ExpressionCompleter.cpp b/src/Gui/ExpressionCompleter.cpp index 5f16907b1e..91597a582c 100644 --- a/src/Gui/ExpressionCompleter.cpp +++ b/src/Gui/ExpressionCompleter.cpp @@ -231,13 +231,8 @@ public: if(count) *count = propSize; } - if(v) { - QString res; - if(sep) - res = QLatin1String("."); - res += QString::fromLatin1(prop->getName()); - *v = res; - } + if(v) + *v = QString::fromLatin1(prop->getName()); return; }