From 8355a145d75ab9c1d87e6a9764140ca06fe67bda Mon Sep 17 00:00:00 2001 From: nds Date: Fri, 15 Jun 2012 09:20:50 +0000 Subject: [PATCH] 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. --- src/SUIT/SUIT_TreeModel.cxx | 1 + 1 file changed, 1 insertion(+) 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(); } } -- 2.39.2