浏览代码

wxGUI: dbm -> dbmgr (see https://trac.osgeo.org/grass/changeset/49429)
`v.info -g` -> `v.info -e`


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

Martin Landa 13 年之前
父节点
当前提交
7a227c1746
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      gui/wxpython/lmgr/layertree.py
  2. 1 1
      gui/wxpython/wxgui.py

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

@@ -342,7 +342,7 @@ 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',
-                                               flags = 'g',
+                                               flags = 'e',
                                                map = layer.GetName())
                     self.GetPyData(self.layer_selected)[0]['info'] = info
                 info = self.GetPyData(self.layer_selected)[0]['info']

+ 1 - 1
gui/wxpython/wxgui.py

@@ -55,7 +55,7 @@ from lmgr.menudata         import ManagerData
 from gui_core.widgets      import GNotebook
 from modules.histogram     import HistogramFrame
 from modules.mcalc_builder import MapCalcFrame
-from dbm.manager           import AttributeManager
+from dbmgr.manager         import AttributeManager
 from core.workspace        import ProcessWorkspaceFile, ProcessGrcFile, WriteWorkspaceFile
 from gui_core.goutput      import GMConsole
 from gui_core.dialogs      import GdalOutputDialog, DxfImportDialog, GdalImportDialog, MapLayersDialog