[GRASS-SVN] r69702 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Oct 18 15:10:48 PDT 2016
Author: annakrat
Date: 2016-10-18 15:10:48 -0700 (Tue, 18 Oct 2016)
New Revision: 69702
Modified:
grass/trunk/gui/wxpython/gui_core/widgets.py
Log:
wxGUI: fix v.in.dxf wrapper
Modified: grass/trunk/gui/wxpython/gui_core/widgets.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/widgets.py 2016-10-18 16:44:52 UTC (rev 69701)
+++ grass/trunk/gui/wxpython/gui_core/widgets.py 2016-10-18 22:10:48 UTC (rev 69702)
@@ -1611,9 +1611,12 @@
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)):
More information about the grass-commit
mailing list