[GRASS-SVN] r43774 - grass/trunk/gui/wxpython/gui_modules

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


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

Modified:
   grass/trunk/gui/wxpython/gui_modules/gcpmanager.py
Log:
reset column sorting after reload

Modified: grass/trunk/gui/wxpython/gui_modules/gcpmanager.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gcpmanager.py	2010-10-03 10:44:53 UTC (rev 43773)
+++ grass/trunk/gui/wxpython/gui_modules/gcpmanager.py	2010-10-03 11:17:03 UTC (rev 43774)
@@ -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