[GRASS-SVN] r67770 - grass/trunk/gui/wxpython/modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Feb 7 13:44:24 PST 2016
Author: annakrat
Date: 2016-02-07 13:44:24 -0800 (Sun, 07 Feb 2016)
New Revision: 67770
Modified:
grass/trunk/gui/wxpython/modules/import_export.py
Log:
wxGUI: fix adding layers to tree in import dialog also for vectors and dxf (#2860)
Modified: grass/trunk/gui/wxpython/modules/import_export.py
===================================================================
--- grass/trunk/gui/wxpython/modules/import_export.py 2016-02-07 21:21:24 UTC (rev 67769)
+++ grass/trunk/gui/wxpython/modules/import_export.py 2016-02-07 21:44:24 UTC (rev 67770)
@@ -540,7 +540,7 @@
cmd.append('--overwrite')
# run in Layer Manager
- self._giface.RunCmd(cmd, onDone = self.OnCmdDone, userData = userData)
+ self._giface.RunCmd(cmd, onDone = self.OnCmdDone, userData = userData, addLayer=False)
def OnCmdDone(self, event):
"""Load layers and close if required"""
@@ -716,7 +716,7 @@
cmd.append('--overwrite')
# run in Layer Manager
- self._giface.RunCmd(cmd, onDone=self.OnCmdDone)
+ self._giface.RunCmd(cmd, onDone=self.OnCmdDone, addLayer=False)
def OnCmdDone(self, event):
"""Load layers and close if required"""
More information about the grass-commit
mailing list