[GRASS-SVN] r41974 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Apr 22 06:13:30 EDT 2010


Author: martinl
Date: 2010-04-22 06:13:28 -0400 (Thu, 22 Apr 2010)
New Revision: 41974

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py
Log:
wxGUI: grass6 raster import fix
(merge r41973 from relbr64)


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py	2010-04-22 10:07:17 UTC (rev 41973)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py	2010-04-22 10:13:28 UTC (rev 41974)
@@ -1404,8 +1404,8 @@
         if self.importType == 'gdal':
             cmd = ['d.rast',
                    'map=%s' % name]
-            if UserSettings.Get(group='cmd', key='rasterOpaque', subkey='enabled'):
-                cmd.append('-n')
+            if UserSettings.Get(group='cmd', key='rasterOverlay', subkey='enabled'):
+                cmd.append('-o')
                 
             item = maptree.AddLayer(ltype='raster',
                                     lname=name,



More information about the grass-commit mailing list