[GRASS-SVN] r64769 - grass/branches/releasebranch_7_0/gui/wxpython/dbmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Feb 28 04:19:27 PST 2015


Author: martinl
Date: 2015-02-28 04:19:27 -0800 (Sat, 28 Feb 2015)
New Revision: 64769

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


Modified: grass/branches/releasebranch_7_0/gui/wxpython/dbmgr/base.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/dbmgr/base.py	2015-02-28 12:16:38 UTC (rev 64768)
+++ grass/branches/releasebranch_7_0/gui/wxpython/dbmgr/base.py	2015-02-28 12:19:27 UTC (rev 64769)
@@ -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