]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Provide possibility to remove icon from item. V3_2_3pre2 V3_2_3pre4
authormzn <mzn@opencascade.com>
Wed, 8 Nov 2006 13:01:11 +0000 (13:01 +0000)
committermzn <mzn@opencascade.com>
Wed, 8 Nov 2006 13:01:11 +0000 (13:01 +0000)
src/ObjBrowser/OB_ListItem.cxx

index b91b92e2d769647837d49dcf35fdfb2e3ac0bbce..906c128e4220b2d923021de83d9dea24fc98ffbf 100755 (executable)
@@ -124,6 +124,8 @@ void ListItemF<T>::update()
     else
       myT->setPixmap( 0, p );
   }
+  else if ( p.isNull() )
+    myT->setPixmap( 0, p );
 
   myT->setDragEnabled( obj->isDragable() );
   myT->setDropEnabled( true );