[GRASS-SVN] r66639 - grass/branches/releasebranch_7_0/gui/wxpython/gmodeler
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Oct 28 06:35:49 PDT 2015
Author: annakrat
Date: 2015-10-28 06:35:49 -0700 (Wed, 28 Oct 2015)
New Revision: 66639
Modified:
grass/branches/releasebranch_7_0/gui/wxpython/gmodeler/dialogs.py
Log:
wxGUI/modeler: fix for wxPython 3, see #2781 (merge from trunk, r66627)
Modified: grass/branches/releasebranch_7_0/gui/wxpython/gmodeler/dialogs.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/gmodeler/dialogs.py 2015-10-28 11:37:51 UTC (rev 66638)
+++ grass/branches/releasebranch_7_0/gui/wxpython/gmodeler/dialogs.py 2015-10-28 13:35:49 UTC (rev 66639)
@@ -789,8 +789,9 @@
self.SetColumnWidth(0, 100)
self.SetColumnWidth(1, 75)
- self.SetColumnWidth(2, 65)
-
+ if len(self.columns) >= 3:
+ self.SetColumnWidth(2, 65)
+
def GetData(self):
"""Get list data"""
return self.itemDataMap
More information about the grass-commit
mailing list