[GRASS-SVN] r64268 - grass/branches/releasebranch_7_0/gui/wxpython/psmap

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 20 17:56:11 PST 2015


Author: annakrat
Date: 2015-01-20 17:56:11 -0800 (Tue, 20 Jan 2015)
New Revision: 64268

Modified:
   grass/branches/releasebranch_7_0/gui/wxpython/psmap/dialogs.py
Log:
wxGUI/psmap: fix accidently renamed dict keys during rast(er) element name change (merge from trunk, r64267)

Modified: grass/branches/releasebranch_7_0/gui/wxpython/psmap/dialogs.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/psmap/dialogs.py	2015-01-21 01:54:45 UTC (rev 64267)
+++ grass/branches/releasebranch_7_0/gui/wxpython/psmap/dialogs.py	2015-01-21 01:56:11 UTC (rev 64268)
@@ -2501,7 +2501,7 @@
         rasterType = getRasterType(map = self.currRaster)
 
         self.rasterCurrent = wx.StaticText(panel, id = wx.ID_ANY,
-                                label = _("%(rast)s: type %(type)s") % { 'raster' : self.currRaster,
+                                label = _("%(rast)s: type %(type)s") % { 'rast' : self.currRaster,
                                                                          'type' : rasterType })
         self.rasterSelect = Select(panel, id = wx.ID_ANY, size = globalvar.DIALOG_GSELECT_SIZE,
                                     type = 'raster', multiple = False,
@@ -3188,7 +3188,7 @@
             
         rasterType = getRasterType(map = currRaster)
         self.rasterCurrent.SetLabel(_("%(rast)s: type %(type)s") % \
-                                        { 'raster' : currRaster, 'type' : str(rasterType) })
+                                        { 'rast' : currRaster, 'type' : str(rasterType) })
         
         # vector legend       
         if 'rect' in self.vLegendDict:



More information about the grass-commit mailing list