From: nds Date: Fri, 15 Jun 2012 09:20:50 +0000 (+0000) Subject: exec python file, that creates some data objects leads to incorrect update of the... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FTRIPOLI_ON_6_5_0_BR;p=modules%2Fgui.git exec python file, that creates some data objects leads to incorrect update of the tree view. If some objects are created under an existing object, the cross of the object to expand it does not appear, some empty (not SUIT_TreeItem) tree items are in the tree view. The correct tree happens only after "Enable sorting" popup call in the tree. --- diff --git a/src/SUIT/SUIT_TreeModel.cxx b/src/SUIT/SUIT_TreeModel.cxx index 9e4558138..a31f704e5 100755 --- a/src/SUIT/SUIT_TreeModel.cxx +++ b/src/SUIT/SUIT_TreeModel.cxx @@ -1221,6 +1221,7 @@ void SUIT_TreeModel::setAutoUpdate( const bool on ) this, SLOT( onRemoved( SUIT_DataObject*, SUIT_DataObject* ) ) ); updateTree(); + emit layoutChanged(); } }