浏览代码

wxGUI/dmgr: fix focus on Deselect all

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@64776 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 年之前
父节点
当前提交
8b24944b41
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      gui/wxpython/dbmgr/base.py

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

@@ -1735,7 +1735,8 @@ class DbMgrBrowsePage(DbMgrNotebookBase):
             if item == -1:
                 break
             tlist.SetItemState(item, 0, wx.LIST_STATE_SELECTED | wx.LIST_STATE_FOCUSED)
-
+        tlist.Focus(0)
+        
         event.Skip()