From: nds Date: Wed, 14 Nov 2007 13:10:21 +0000 (+0000) Subject: Undo changes. X-Git-Tag: TG_Saint_Valentine-Day~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=dd1226494657def42ff4c658827dab384094e18a;p=modules%2Fgui.git Undo changes. --- diff --git a/src/SUIT/SUIT_TreeSync.h b/src/SUIT/SUIT_TreeSync.h index 7bd6807bb..ccceeaa0c 100644 --- a/src/SUIT/SUIT_TreeSync.h +++ b/src/SUIT/SUIT_TreeSync.h @@ -151,14 +151,14 @@ TrgItem synchronize( const SrcItem& r1, const TrgItem& r2, const TreeData& td ) } else { TrgItem new_r2 = td.nullTrg(); - /*if ( r1 != td.nullSrc() ) { + if ( r1 != td.nullSrc() ) { // add new item (recursively) new_r2 = createSubTree( r1, td.parent( r2 ), r2, td ); } if ( r2 != td.nullTrg() ) { // delete old one (if it is not null) td.deleteItemWithChildren( r2 ); - }*/ + } return new_r2; } }