[GRASS-SVN] r68389 - grass/trunk/gui/wxpython/psmap

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 6 15:02:30 PDT 2016


Author: annakrat
Date: 2016-05-06 15:02:30 -0700 (Fri, 06 May 2016)
New Revision: 68389

Modified:
   grass/trunk/gui/wxpython/psmap/dialogs.py
Log:
wxGUI/psmap: remove confusing error message about units

Modified: grass/trunk/gui/wxpython/psmap/dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/psmap/dialogs.py	2016-05-06 20:59:16 UTC (rev 68388)
+++ grass/trunk/gui/wxpython/psmap/dialogs.py	2016-05-06 22:02:30 UTC (rev 68389)
@@ -4767,11 +4767,6 @@
         if projInfo()['proj'] == 'xy':
             self.mapUnit = 'meters'
         if self.mapUnit not in self.unitConv.getAllUnits():
-            wx.MessageBox(
-                message=_(
-                    "Units of current projection are not supported,\n meters will be used!"),
-                caption=_('Unsupported units'),
-                style=wx.OK | wx.ICON_ERROR)
             self.mapUnit = 'meters'
 
     def _scalebarPanel(self):



More information about the grass-commit mailing list