瀏覽代碼

wxGUI/iclass: be silent when checking connections for imported vector map

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54504 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 年之前
父節點
當前提交
f7551f5758
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/iclass/frame.py

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

@@ -526,7 +526,7 @@ class IClassMapFrame(DoubleMapFrame):
 
         # check if attribute table really exists (fix broken connections)
         for layer in grass.vector_db(vector):
-            if 0 != RunCommand('v.db.select', map = vector, where = "0 = 1"):
+            if 0 != RunCommand('v.db.select', flags = 'c', map = vector, where = "0 = 1"):
                 GWarning(_("Vector map <%s>: no attribute table found") % vector,
                          parent = self)
                 RunCommand('v.db.connect', flags = 'd', map = vector, layer = layer,