浏览代码

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):