Explorar o código

wxGUI/dbmgr: force default where operator (wxPython 3 fix)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@64768 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa %!s(int64=10) %!d(string=hai) anos
pai
achega
8c355f83cb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      gui/wxpython/dbmgr/base.py

+ 1 - 0
gui/wxpython/dbmgr/base.py

@@ -1098,6 +1098,7 @@ class DbMgrBrowsePage(DbMgrNotebookBase):
         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")