소스 검색

wxGUI/modeler: update item panel when page changed

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@66945 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 9 년 전
부모
커밋
5dbad2c683
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      gui/wxpython/gmodeler/frame.py

+ 3 - 1
gui/wxpython/gmodeler/frame.py

@@ -201,7 +201,9 @@ class ModelFrame(wx.Frame):
                 self.SetStatusText(_('Python script contains local modifications'), 0)
             else:
                 self.SetStatusText(_('Python script is up-to-date'), 0)
-        
+        elif page == self.notebook.GetPageIndexByName('items'):
+            self.itemPanel.Update()
+            
         event.Skip()
 
     def OnVariables(self, event):