From 3e0cfb4ba51af63e6d1a15dfe166d6ebb82411dc Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Fri, 23 Aug 2019 09:54:13 +0800 Subject: [PATCH] Gui: fix ExpressionCompleter for property --- src/Gui/ExpressionCompleter.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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; }