浏览代码

calling VDigitWindow - removed tree parameter (not yet used in constructor)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@57345 15284696-431f-4ddb-bdfa-cd5b030d7da7
Štěpán Turek 11 年之前
父节点
当前提交
dd41b37937
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      gui/wxpython/mapdisp/frame.py

+ 1 - 2
gui/wxpython/mapdisp/frame.py

@@ -249,8 +249,7 @@ class MapFrame(SingleMapFrame):
             from vdigit.mapwindow import VDigitWindow
             from vdigit.mapwindow import VDigitWindow
             self.MapWindowVDigit = VDigitWindow(parent = self, giface = self._giface,
             self.MapWindowVDigit = VDigitWindow(parent = self, giface = self._giface,
                                                 id = wx.ID_ANY, frame = self,
                                                 id = wx.ID_ANY, frame = self,
-                                                Map = self.Map, tree = self.tree,
-                                                lmgr = self._layerManager)
+                                                Map = self.Map, lmgr = self._layerManager)
             self.MapWindowVDigit.Show()
             self.MapWindowVDigit.Show()
             self._mgr.AddPane(self.MapWindowVDigit, wx.aui.AuiPaneInfo().CentrePane().
             self._mgr.AddPane(self.MapWindowVDigit, wx.aui.AuiPaneInfo().CentrePane().
                           Dockable(False).BestSize((-1,-1)).Name('vdigit').
                           Dockable(False).BestSize((-1,-1)).Name('vdigit').