This commit is contained in:
dfighter1985 2014-09-10 18:04:55 +02:00
parent b69169af71
commit cb0cacf3cc

View file

@ -323,7 +323,7 @@ void BrowserCtrlPvt::setupAtom( GeorgesQt::CFormItem *node )
tt = getValueTypeFromDfn( atom ); tt = getValueTypeFromDfn( atom );
} }
if( tt = QVariant::Type( FILEBROWSER ) ) if( tt == QVariant::Type( FILEBROWSER ) )
addFileProperty( "value", v.c_str() ); addFileProperty( "value", v.c_str() );
else else
addVariantProperty( tt, "value", v.c_str() ); addVariantProperty( tt, "value", v.c_str() );