[GRASS-SVN] r69703 - grass/branches/releasebranch_7_2/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Oct 18 15:12:20 PDT 2016
Author: annakrat
Date: 2016-10-18 15:12:20 -0700 (Tue, 18 Oct 2016)
New Revision: 69703
Modified:
grass/branches/releasebranch_7_2/gui/wxpython/gui_core/widgets.py
Log:
wxGUI: fix v.in.dxf wrapper (merge from trunk, r69702)
Modified: grass/branches/releasebranch_7_2/gui/wxpython/gui_core/widgets.py
===================================================================
--- grass/branches/releasebranch_7_2/gui/wxpython/gui_core/widgets.py 2016-10-18 22:10:48 UTC (rev 69702)
+++ grass/branches/releasebranch_7_2/gui/wxpython/gui_core/widgets.py 2016-10-18 22:12:20 UTC (rev 69703)
@@ -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