Browse Source

reset column sorting after reload

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@43774 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 14 years ago
parent
commit
6d9a3a3d06
1 changed files with 4 additions and 0 deletions
  1. 4 0
      gui/wxpython/gui_modules/gcpmanager.py

+ 4 - 0
gui/wxpython/gui_modules/gcpmanager.py

@@ -1265,6 +1265,10 @@ class GCP(MapFrame, wx.Frame, ColumnSorterMixin):
         self.list.LoadData()
         self.itemDataMap = self.mapcoordlist
 
+        if self._col != -1:
+            self.list.ClearColumnImage(self._col)
+        self._colSortFlag = [1] * self.list.GetColumnCount()
+
         # draw GCPs (source and target)
         sourceMapWin = self.SrcMapWindow
         sourceMapWin.UpdateMap(render=False, renderVector=False)