[Greater-commits] r344 - trunk/GREAT-ER/Thuban/UI

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Jul 1 11:38:06 CEST 2011


Author: aheinecke
Date: 2011-07-01 11:38:06 +0200 (Fri, 01 Jul 2011)
New Revision: 344

Modified:
   trunk/GREAT-ER/Thuban/UI/classifier.py
Log:
That the visibility value for the classifier group as boolean instead of string


Modified: trunk/GREAT-ER/Thuban/UI/classifier.py
===================================================================
--- trunk/GREAT-ER/Thuban/UI/classifier.py	2011-07-01 08:42:55 UTC (rev 343)
+++ trunk/GREAT-ER/Thuban/UI/classifier.py	2011-07-01 09:38:06 UTC (rev 344)
@@ -604,7 +604,7 @@
         mod = True # assume the data will change
 
         if col == COL_VISIBLE:
-            group.SetVisible(value)
+            group.SetVisible(value == "True")
         elif col == COL_SYMBOL:
             group.SetProperties(value)
         elif col == COL_LABEL:



More information about the Greater-commits mailing list