From: mzn Date: Wed, 8 Nov 2006 13:01:11 +0000 (+0000) Subject: Provide possibility to remove icon from item. X-Git-Tag: V3_2_3pre2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=52bc19be7580606f5eee42c6700da9c1541a9071;p=modules%2Fgui.git Provide possibility to remove icon from item. --- diff --git a/src/ObjBrowser/OB_ListItem.cxx b/src/ObjBrowser/OB_ListItem.cxx index b91b92e2d..906c128e4 100755 --- a/src/ObjBrowser/OB_ListItem.cxx +++ b/src/ObjBrowser/OB_ListItem.cxx @@ -124,6 +124,8 @@ void ListItemF::update() else myT->setPixmap( 0, p ); } + else if ( p.isNull() ) + myT->setPixmap( 0, p ); myT->setDragEnabled( obj->isDragable() ); myT->setDropEnabled( true );