From 52bc19be7580606f5eee42c6700da9c1541a9071 Mon Sep 17 00:00:00 2001 From: mzn Date: Wed, 8 Nov 2006 13:01:11 +0000 Subject: [PATCH] Provide possibility to remove icon from item. --- src/ObjBrowser/OB_ListItem.cxx | 2 ++ 1 file changed, 2 insertions(+) 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 ); -- 2.39.2