Parcourir la source

wxGUI: fix v.info syntax

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@46174 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa il y a 14 ans
Parent
commit
bbeffd3169
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      gui/wxpython/gui_modules/layertree.py

+ 2 - 2
gui/wxpython/gui_modules/layertree.py

@@ -343,8 +343,8 @@ class LayerTree(treemixin.DragAndDrop, CT.CustomTreeCtrl):
             if layer and layer.GetType() == 'vector':
                 if 'info' not in self.GetPyData(self.layer_selected)[0]:
                     info = grass.parse_command('v.info',
-                                               map = layer.GetName(),
-                                               shell = 'basic')
+                                               flags = 'g',
+                                               map = layer.GetName())
                     self.GetPyData(self.layer_selected)[0]['info'] = info
                 info = self.GetPyData(self.layer_selected)[0]['info']
                 if info and info['format'] == 'ogr,PostgreSQL':