Sfoglia il codice sorgente

wxGUI dialog missing dbdriver
(merge from relbr64, https://trac.osgeo.org/grass/changeset/38040)


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

Martin Landa 16 anni fa
parent
commit
9e01b7cc14
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      gui/wxpython/gui_modules/menuform.py

+ 1 - 0
gui/wxpython/gui_modules/menuform.py

@@ -240,6 +240,7 @@ class UpdateThread(Thread):
                 if map:
                     self.data[win.InsertColumns] = { 'vector' : map, 'layer' : layer }
                 else: # table
+                    driver = db = None
                     pDriver = self.task.get_param('dbdriver', element='prompt', raiseError=False)
                     if pDriver:
                         driver = pDriver.get('value', None)