author | Edouard Tisserant |
Wed, 23 May 2012 13:20:00 +0200 | |
changeset 748 | 5e69e2738957 |
parent 747 | e7fca1f93de1 |
child 750 | 227a387919d5 |
svgui/svguilib.py | file | annotate | diff | comparison | revisions |
--- a/svgui/svguilib.py Wed May 23 11:44:55 2012 +0200 +++ b/svgui/svguilib.py Wed May 23 13:20:00 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 + +