Merged
authorlaurent
Wed, 23 May 2012 16:32:33 +0200
changeset 752 35a86f033a36
parent 751 a8dace95f965 (current diff)
parent 750 227a387919d5 (diff)
child 753 05502e574589
Merged
--- a/svgui/svguilib.py	Wed May 23 16:28:50 2012 +0200
+++ b/svgui/svguilib.py	Wed May 23 16:32:33 2012 +0200
@@ -48,7 +48,8 @@
         if values.state != self.state:
             self.state = values.state
             self.up = not self.state
-            updateAttr(self.id, 'state', self.state)
+            if self.toggle:
+                updateAttr(self.id, 'state', self.state)
             self.updateElements()
 
     def handleEvent(self, evt):
@@ -114,4 +115,5 @@
     
     def handleEvent(self, evt):
         pass
-    
\ No newline at end of file
+    
+