From 0f1ed4c4d7c852c47a2340ae5a8e5714cbb566dd Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 18 Jan 2011 12:12:36 +0000 Subject: [PATCH] 0021135: EDF 1753 OTHER: Bug in the python dump due to iparameters --- src/SUIT/SUIT_TreeModel.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SUIT/SUIT_TreeModel.cxx b/src/SUIT/SUIT_TreeModel.cxx index 969c61201..c60b6be27 100755 --- a/src/SUIT/SUIT_TreeModel.cxx +++ b/src/SUIT/SUIT_TreeModel.cxx @@ -1435,6 +1435,7 @@ SUIT_ProxyModel::SUIT_ProxyModel( QObject* parent ) SUIT_TreeModel* model = new SUIT_TreeModel( this ); connect( model, SIGNAL( modelUpdated() ), this, SIGNAL( modelUpdated() ) ); setSourceModel( model ); + setDynamicSortFilter( true ); } /*! @@ -1449,6 +1450,7 @@ SUIT_ProxyModel::SUIT_ProxyModel( SUIT_DataObject* root, QObject* parent ) SUIT_TreeModel* model = new SUIT_TreeModel( root, this ); connect( model, SIGNAL( modelUpdated() ), this, SIGNAL( modelUpdated() ) ); setSourceModel( model ); + setDynamicSortFilter( true ); } /*! @@ -1462,6 +1464,7 @@ SUIT_ProxyModel::SUIT_ProxyModel( SUIT_AbstractModel* model, QObject* parent ) { connect( *model, SIGNAL( modelUpdated() ), this, SIGNAL( modelUpdated() ) ); setSourceModel( *model ); + setDynamicSortFilter( true ); } /*! -- 2.39.2