Salome HOME
0022317: [CEA 925] GUI: An objet creation by clicking "apply" refolds the study tree V7_3_BR V7_3_0 V7_3_0_WIN V7_3_0rc1
authorvsr <vsr@opencascade.com>
Tue, 17 Dec 2013 08:13:03 +0000 (08:13 +0000)
committervsr <vsr@opencascade.com>
Tue, 17 Dec 2013 08:13:03 +0000 (08:13 +0000)
src/SUIT/SUIT_TreeModel.cxx

index a612095f58a8be62962174fb4e752c0d8f828b2b..3a8eacc1a5012a891b6f823d851730af1cc4bb6c 100755 (executable)
@@ -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);