From 3c776f2c10d0b8770341d1c3e922e22912b0928b Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 17 Dec 2013 08:13:03 +0000 Subject: [PATCH] 0022317: [CEA 925] GUI: An objet creation by clicking "apply" refolds the study tree --- src/SUIT/SUIT_TreeModel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2