浏览代码

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 10 年之前
父节点
当前提交
8c355f83cb
共有 1 个文件被更改,包括 1 次插入0 次删除
  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")