浏览代码

wxGUI: fix d.vect dialog when loading layer without db connection, caused by https://trac.osgeo.org/grass/changeset/72547

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72628 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 7 年之前
父节点
当前提交
6fd9b9d0d5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/gui_core/gselect.py

+ 1 - 1
gui/wxpython/gui_core/gselect.py

@@ -1139,7 +1139,7 @@ class ColumnSelect(ComboCtrl):
                             self.columns.remove(key)
                         except ValueError:
                             pass
-        except (KeyError, ValueError):
+        except (KeyError, ValueError, GException):
             self.columns[:] = []
 
         # update list