[GRASS-SVN] r55842 - grass/trunk/gui/wxpython/vnet

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Apr 17 01:39:02 PDT 2013


Author: turek
Date: 2013-04-17 01:39:02 -0700 (Wed, 17 Apr 2013)
New Revision: 55842

Modified:
   grass/trunk/gui/wxpython/vnet/dialogs.py
Log:
wx.vnet: column select fix

Modified: grass/trunk/gui/wxpython/vnet/dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/vnet/dialogs.py	2013-04-17 08:18:31 UTC (rev 55841)
+++ grass/trunk/gui/wxpython/vnet/dialogs.py	2013-04-17 08:39:02 UTC (rev 55842)
@@ -637,7 +637,6 @@
             self.inputData['alayer'].SetValue("")
             self.inputData['nlayer'].SetValue("")
             for sel in ['afcolumn', 'abcolumn', 'ncolumn']:
-                self.inputData[sel].Clear()
                 self.inputData[sel].SetValue("")
             return
         elif itemsLen == 1:
@@ -719,7 +718,7 @@
 
                 if not colVal:
                     continue
-                if colVal not in self.inputData[colInptF].GetItems():
+                if colVal != self.inputData[colInptF].GetValue():
                     errInput[col] = colVal
 
         return errInput



More information about the grass-commit mailing list