[GRASS-SVN] r64768 - grass/trunk/gui/wxpython/dbmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Feb 28 04:16:38 PST 2015


Author: martinl
Date: 2015-02-28 04:16:38 -0800 (Sat, 28 Feb 2015)
New Revision: 64768

Modified:
   grass/trunk/gui/wxpython/dbmgr/base.py
Log:
wxGUI/dbmgr: force default where operator (wxPython 3 fix)

Modified: grass/trunk/gui/wxpython/dbmgr/base.py
===================================================================
--- grass/trunk/gui/wxpython/dbmgr/base.py	2015-02-28 09:00:00 UTC (rev 64767)
+++ grass/trunk/gui/wxpython/dbmgr/base.py	2015-02-28 12:16:38 UTC (rev 64768)
@@ -1098,6 +1098,7 @@
         sqlWhereCond = wx.Choice(parent = whereSimpleSqlPanel, id = wx.ID_ANY,
                                  size = (55,-1),
                                  choices = ['=', '!=', '<', '<=', '>', '>='])
+        sqlWhereCond.SetSelection(0)
         sqlWhereValue = wx.TextCtrl(parent = whereSimpleSqlPanel, id = wx.ID_ANY, value = "",
                                     style = wx.TE_PROCESS_ENTER)
         sqlWhereValue.SetToolTipString(_("Example: %s") % "MULTILANE = 'no' AND OBJECTID < 10")



More information about the grass-commit mailing list