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 years ago
parent
commit
9dc8c35d33
1 changed files with 2 additions and 0 deletions
  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)
                           wx.LIST_STATE_SELECTED)
         listCtrl.render = True
         listCtrl.render = True
         
         
+        listCtrl.EnsureVisible(listCtrl.selected)
+
         srcWin = self.mapFrame.GetSrcWindow()
         srcWin = self.mapFrame.GetSrcWindow()
         tgtWin = self.mapFrame.GetTgtWindow()
         tgtWin = self.mapFrame.GetTgtWindow()