From 3ca876ef48158f53c71c69ca3ee9c8fb548b53f6 Mon Sep 17 00:00:00 2001 From: cxl Date: Wed, 10 May 2017 11:16:01 +0000 Subject: [PATCH] Fixed isue in GridCtrl::RemoveColumn (thanks aftershock) git-svn-id: svn://ultimatepp.org/upp/trunk@11061 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/GridCtrl/GridCtrl.cpp | 2 ++ 1 file changed, 2 insertions(+) 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);