Browse Source

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 năm trước cách đây
mục cha
commit
9dc8c35d33
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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()