[GRASS-SVN] r66351 - grass/trunk/gui/wxpython/vdigit
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Sep 27 13:12:40 PDT 2015
Author: annakrat
Date: 2015-09-27 13:12:40 -0700 (Sun, 27 Sep 2015)
New Revision: 66351
Modified:
grass/trunk/gui/wxpython/vdigit/g.gui.vdigit.py
Log:
wxGUI/vdigit: fix standalone tool initialization #2746
Modified: grass/trunk/gui/wxpython/vdigit/g.gui.vdigit.py
===================================================================
--- grass/trunk/gui/wxpython/vdigit/g.gui.vdigit.py 2015-09-27 12:55:22 UTC (rev 66350)
+++ grass/trunk/gui/wxpython/vdigit/g.gui.vdigit.py 2015-09-27 20:12:40 UTC (rev 66351)
@@ -48,6 +48,7 @@
import wx
from core.globalvar import CheckWxVersion
from core.utils import _
+ from core.render import Map
from mapdisp.frame import MapFrame
from mapdisp.main import DMonGrassInterface
from core.settings import UserSettings
@@ -59,7 +60,7 @@
class VDigitMapFrame(MapFrame):
def __init__(self, vectorMap):
MapFrame.__init__(
- self, parent=None, giface=DMonGrassInterface(None),
+ self, parent=None, Map=Map(), giface=DMonGrassInterface(None),
title=_("GRASS GIS Vector Digitizer"), size=(850, 600))
# this giface issue not solved yet, we must set mapframe aferwards
self._giface._mapframe = self
More information about the grass-commit
mailing list