Ver código fonte

GUI/vdigit: fix snapping units, see https://trac.osgeo.org/grass/ticket/2848

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@69578 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 8 anos atrás
pai
commit
91674307b6
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      gui/wxpython/vdigit/wxdisplay.py

+ 1 - 1
gui/wxpython/vdigit/wxdisplay.py

@@ -1112,7 +1112,7 @@ class DisplayDriver:
         if value < 0:
             value = (self.region['nsres'] + self.region['ewres']) / 2.0
 
-        if units == "screen pixels":
+        if units == _("screen pixels"):
             # pixel -> cell
             res = max(self.region['nsres'], self.region['ewres'])
             return value * res