Salome HOME
Merge from V7_3_BR branch 18/12/2013
[modules/gui.git] / src / SUIT / SUIT_TreeModel.cxx
index eebeb4acf610609494fb3dfbc0e3b490f30a8f2c..3a8eacc1a5012a891b6f823d851730af1cc4bb6c 100755 (executable)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -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);