[GRASS-SVN] r45049 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jan 14 20:41:04 EST 2011
Author: martinl
Date: 2011-01-14 17:41:04 -0800 (Fri, 14 Jan 2011)
New Revision: 45049
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py
Log:
wxGUI: fix import dxf
(merge r45048 from trunk)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py 2011-01-15 01:39:50 UTC (rev 45048)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py 2011-01-15 01:41:04 UTC (rev 45049)
@@ -973,7 +973,7 @@
continue
elif cmd == 'v.external' and name not in ('b'):
continue
- elif cmd == 'v.in.dxf' and name not in ('e', 't', 'b', 'f', 'i', '1'):
+ elif cmd == 'v.in.dxf' and name not in ('e', 't', 'b', 'f', 'i'):
continue
self.options[name] = wx.CheckBox(parent = self.panel, id = wx.ID_ANY,
label = desc)
@@ -1283,6 +1283,10 @@
'input=%s' % inputDxf,
'layers=%s' % layer,
'output=%s' % output]
+
+ for key in self.options.keys():
+ if self.options[key].IsChecked():
+ cmd.append('-%s' % key)
if self.overwrite.IsChecked() or \
UserSettings.Get(group='cmd', key='overwrite', subkey='enabled'):
More information about the grass-commit
mailing list