From: vsr Date: Tue, 18 Jan 2011 12:12:36 +0000 (+0000) Subject: 0021135: EDF 1753 OTHER: Bug in the python dump due to iparameters X-Git-Tag: V6_3_0a1~91 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0f1ed4c4d7c852c47a2340ae5a8e5714cbb566dd;p=modules%2Fgui.git 0021135: EDF 1753 OTHER: Bug in the python dump due to iparameters --- 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 ); } /*!