浏览代码

wx GCP Manager: ensure GCP is visible

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52695 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 12 年之前
父节点
当前提交
9dc8c35d33
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      gui/wxpython/mapdisp/statusbar.py

+ 2 - 0
gui/wxpython/mapdisp/statusbar.py

@@ -1014,6 +1014,8 @@ class SbGoToGCP(SbItem):
                           wx.LIST_STATE_SELECTED)
         listCtrl.render = True
         
+        listCtrl.EnsureVisible(listCtrl.selected)
+
         srcWin = self.mapFrame.GetSrcWindow()
         tgtWin = self.mapFrame.GetTgtWindow()