Pārlūkot izejas kodu

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á 9 gadi atpakaļ
vecāks
revīzija
2d1b702294
1 mainītis faili ar 0 papildinājumiem un 5 dzēšanām
  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':
         if projInfo()['proj'] == 'xy':
             self.mapUnit = 'meters'
             self.mapUnit = 'meters'
         if self.mapUnit not in self.unitConv.getAllUnits():
         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'
             self.mapUnit = 'meters'
 
 
     def _scalebarPanel(self):
     def _scalebarPanel(self):