Browse Source

wxGUI: track error when searching for maps

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@44948 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 years ago
parent
commit
7bebd983c8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      gui/wxpython/gui_modules/menuform.py

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

@@ -300,10 +300,10 @@ class UpdateThread(Thread):
                     try:
                     try:
                         if not cparams[map]['dbInfo']:
                         if not cparams[map]['dbInfo']:
                             cparams[map]['dbInfo'] = gselect.VectorDBInfo(map)
                             cparams[map]['dbInfo'] = gselect.VectorDBInfo(map)
+                        self.data[win.InsertColumns] = { 'vector' : map, 'layer' : layer,
+                                                         'dbInfo' : cparams[map]['dbInfo'] }
                     except KeyError:
                     except KeyError:
                         pass
                         pass
-                    self.data[win.InsertColumns] = { 'vector' : map, 'layer' : layer,
-                                                     'dbInfo' : cparams[map]['dbInfo'] }
                 else: # table
                 else: # table
                     if driver and db:
                     if driver and db:
                         self.data[win.InsertTableColumns] = { 'table' : pTable.get('value'),
                         self.data[win.InsertTableColumns] = { 'table' : pTable.get('value'),