Explorar o código

wxGUI: OnSystemInfo - fix OSGeo4W logic
(merge https://trac.osgeo.org/grass/changeset/53486 from trunk)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@53489 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa %!s(int64=12) %!d(string=hai) anos
pai
achega
a63e63f904
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gui/wxpython/lmgr/frame.py

+ 1 - 1
gui/wxpython/lmgr/frame.py

@@ -829,7 +829,7 @@ class GMFrame(wx.Frame):
             projVersion = _("unknown")
         # check also OSGeo4W on MS Windows
         if sys.platform == 'win32' and \
-                os.path.exists(os.path.join(os.getenv("GISBASE"), "WinGRASS-README.url")):
+                not os.path.exists(os.path.join(os.getenv("GISBASE"), "WinGRASS-README.url")):
             osgeo4w = ' (OSGeo4W)'
         else:
             osgeo4w = ''