From dc08bfc73fb4f4183895ab3b16db746373870e72 Mon Sep 17 00:00:00 2001 From: dfighter1985 Date: Thu, 2 Aug 2012 21:12:03 +0200 Subject: [PATCH] CHANGED: #1471 Enabled editing in the property browser widget, but obviously changing properties will have no effect until property changing is implemented. --- .../src/plugins/gui_editor/property_browser_ctrl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/property_browser_ctrl.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/property_browser_ctrl.cpp index 4fd41d1e5..4d4ed02f3 100644 --- a/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/property_browser_ctrl.cpp +++ b/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/property_browser_ctrl.cpp @@ -86,6 +86,9 @@ namespace GUIEditor const SPropEntry &prop = *pItr; setupProperty( prop, element ); } + + QtVariantEditorFactory *factory = new QtVariantEditorFactory; + browser->setFactoryForManager( propertyMgr, factory ); } void CPropBrowserCtrl::setupProperty( const SPropEntry &prop, const CInterfaceElement *element )