Browse Source

wxGUI: fix v.in.dxf wrapper

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@69702 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 8 years ago
parent
commit
e50d6df293
1 changed files with 5 additions and 2 deletions
  1. 5 2
      gui/wxpython/gui_core/widgets.py

+ 5 - 2
gui/wxpython/gui_core/widgets.py

@@ -1611,9 +1611,12 @@ class LayersList(GListCtrl, listmix.TextEditMixin):
         for i in range(len(columns)):
             self.InsertColumn(i, columns[i])
 
-        if len(columns) == 4:
+        width = []
+        if len(columns) == 3:
+            width = (65, 200)
+        elif len(columns) == 4:
             width = (65, 200, 90)
-        else:
+        elif len(columns) == 5:
             width = (65, 180, 90, 70)
 
         for i in range(len(width)):