Explorar el Código

wxGUI/psmap: remove confusing error message about units

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68389 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová hace 9 años
padre
commit
2d1b702294
Se han modificado 1 ficheros con 0 adiciones y 5 borrados
  1. 0 5
      gui/wxpython/psmap/dialogs.py

+ 0 - 5
gui/wxpython/psmap/dialogs.py

@@ -4767,11 +4767,6 @@ class ScalebarDialog(PsmapDialog):
         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):