From: vsr Date: Tue, 17 Dec 2013 08:13:03 +0000 (+0000) Subject: 0022317: [CEA 925] GUI: An objet creation by clicking "apply" refolds the study tree X-Git-Tag: V7_3_0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FV7_3_BR;p=modules%2Fgui.git 0022317: [CEA 925] GUI: An objet creation by clicking "apply" refolds the study tree --- diff --git a/src/SUIT/SUIT_TreeModel.cxx b/src/SUIT/SUIT_TreeModel.cxx index a612095f5..3a8eacc1a 100755 --- a/src/SUIT/SUIT_TreeModel.cxx +++ b/src/SUIT/SUIT_TreeModel.cxx @@ -1627,7 +1627,7 @@ void SUIT_TreeModel::updateItem( SUIT_TreeModel::TreeItem* item, bool emitLayout fromIndexes.append( index( obj, i )); toIndexes.append(QModelIndex()); } - changePersistentIndexList(fromIndexes, toIndexes); // Limitation: can lead to loss of selection + //changePersistentIndexList(fromIndexes, toIndexes); // Limitation: can lead to loss of selection emit dataChanged( toIndexes.first(), toIndexes.last() ); obj->setModified(false);