From 7abd407bc5910a8c539c36bc5b149e55c2a18b3f Mon Sep 17 00:00:00 2001 From: dfighter1985 Date: Wed, 10 Sep 2014 18:04:55 +0200 Subject: [PATCH] oups --HG-- branch : dfighter-tools --- code/studio/src/plugins/georges_editor/browser_ctrl_pvt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/studio/src/plugins/georges_editor/browser_ctrl_pvt.cpp b/code/studio/src/plugins/georges_editor/browser_ctrl_pvt.cpp index 0ce72d39b..484649e52 100644 --- a/code/studio/src/plugins/georges_editor/browser_ctrl_pvt.cpp +++ b/code/studio/src/plugins/georges_editor/browser_ctrl_pvt.cpp @@ -323,7 +323,7 @@ void BrowserCtrlPvt::setupAtom( GeorgesQt::CFormItem *node ) tt = getValueTypeFromDfn( atom ); } - if( tt = QVariant::Type( FILEBROWSER ) ) + if( tt == QVariant::Type( FILEBROWSER ) ) addFileProperty( "value", v.c_str() ); else addVariantProperty( tt, "value", v.c_str() );