From 822e45c4f7cd409c4297a069a3db87db871a4763 Mon Sep 17 00:00:00 2001 From: wmayer Date: Mon, 27 Oct 2014 17:05:27 +0100 Subject: [PATCH] + fixes #0001806: Wrong object name shown in App::PropertyLink Properties in the property editor --- src/Gui/propertyeditor/PropertyItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/propertyeditor/PropertyItem.cpp b/src/Gui/propertyeditor/PropertyItem.cpp index a1ec748ee..fc3876222 100644 --- a/src/Gui/propertyeditor/PropertyItem.cpp +++ b/src/Gui/propertyeditor/PropertyItem.cpp @@ -2146,7 +2146,7 @@ PropertyLinkItem::PropertyLinkItem() QVariant PropertyLinkItem::toString(const QVariant& prop) const { QStringList list = prop.toStringList(); - return QVariant(list.last()); + return QVariant(list[2]); } QVariant PropertyLinkItem::value(const App::Property* prop) const