changeset 288:5539744cfd40

Clear tool selection status when cancelling a tool
author Neil Muller <drnlmuller@gmail.com>
date Sat, 05 Sep 2009 16:00:30 +0000
parents 21b0c4a99c0a
children 37d88a9fc097
files gamelib/gameboard.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gamelib/gameboard.py	Sat Sep 05 16:00:01 2009 +0000
+++ b/gamelib/gameboard.py	Sat Sep 05 16:00:30 2009 +0000
@@ -206,6 +206,8 @@
 
     def clear_tool(self):
         self.group.value = None
+        for item in self.group.widgets:
+            item.pcls = ""
 
     def add_counter(self, icon, label):
         self.tr()