From 958f000230e0b1fa76c0518a90b3fde5a63ee9b3 Mon Sep 17 00:00:00 2001 From: imn Date: Mon, 7 Dec 2015 16:39:41 +0300 Subject: [PATCH] Minor changes to prev. commit --- src/SUIT/SUIT_TreeModel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2