[GRASS-SVN] r43775 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Oct 3 07:17:45 EDT 2010


Author: mmetz
Date: 2010-10-03 11:17:45 +0000 (Sun, 03 Oct 2010)
New Revision: 43775

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/gcpmanager.py
Log:
reset column sorting after reload (backport from trunk r43774)

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gcpmanager.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gcpmanager.py	2010-10-03 11:17:03 UTC (rev 43774)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gcpmanager.py	2010-10-03 11:17:45 UTC (rev 43775)
@@ -1265,6 +1265,10 @@
         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)



More information about the grass-commit mailing list