[GRASS-SVN] r41944 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Apr 21 06:13:11 EDT 2010


Author: martinl
Date: 2010-04-21 06:13:11 -0400 (Wed, 21 Apr 2010)
New Revision: 41944

Modified:
   grass/trunk/gui/wxpython/gui_modules/gdialogs.py
Log:
wxGUI: d.rast -n


Modified: grass/trunk/gui/wxpython/gui_modules/gdialogs.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gdialogs.py	2010-04-21 10:12:27 UTC (rev 41943)
+++ grass/trunk/gui/wxpython/gui_modules/gdialogs.py	2010-04-21 10:13:11 UTC (rev 41944)
@@ -1364,8 +1364,8 @@
                 if self.importType == 'gdal':
                     cmd = ['d.rast',
                            'map=%s' % name]
-                    if UserSettings.Get(group='cmd', key='rasterOverlay', subkey='enabled'):
-                        cmd.append('-o')
+                    if UserSettings.Get(group='cmd', key='rasterOpaque', subkey='enabled'):
+                        cmd.append('-n')
 
                     maptree.AddLayer(ltype='raster',
                                      lname=name,



More information about the grass-commit mailing list