diff --git a/uppsrc/GridCtrl/GridCtrl.cpp b/uppsrc/GridCtrl/GridCtrl.cpp index 1314f1ba3..4fc4bc17b 100644 --- a/uppsrc/GridCtrl/GridCtrl.cpp +++ b/uppsrc/GridCtrl/GridCtrl.cpp @@ -1827,6 +1827,8 @@ void GridCtrl::RemoveColumn(int n, int count) } int id = hitems[n].id; + + Upp::Sort(r); hitems.Remove(n, count);