From: imn Date: Mon, 7 Dec 2015 13:39:41 +0000 (+0300) Subject: Minor changes to prev. commit X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=958f000230e0b1fa76c0518a90b3fde5a63ee9b3;p=modules%2Fgui.git Minor changes to prev. commit --- diff --git a/src/SUIT/SUIT_TreeModel.cxx b/src/SUIT/SUIT_TreeModel.cxx index 2753ac368..491fcdcd6 100755 --- a/src/SUIT/SUIT_TreeModel.cxx +++ b/src/SUIT/SUIT_TreeModel.cxx @@ -546,7 +546,7 @@ void SUIT_TreeModel::unregisterColumn( const int group_id, const QString& name ) if ( myColumns[i].myName == name ) { myColumns[i].myIds.remove( group_id ); if ( myColumns[i].myIds.isEmpty() ) { - myColumns.remove( i ); + myColumns.remove( i ); #if QT_VERSION >= QT_VERSION_CHECK(4, 6, 0) endResetModel(); #else