tuikit/widgets/button.py
changeset 119 dd91747504dd
parent 118 8c7970520632
--- a/tuikit/widgets/button.py	Sat Feb 21 12:01:57 2015 +0100
+++ b/tuikit/widgets/button.py	Sun Feb 22 09:53:13 2015 +0100
@@ -44,8 +44,8 @@
 
     def set_theme(self, theme):
         Widget.set_theme(self, theme)
-        self.color = theme.button
-        self.color_active = theme.button_active
+        self.color = theme.clr_button
+        self.color_active = theme.clr_button_active
 
     def _get_color(self):
         if self.highlight:
@@ -76,11 +76,11 @@
 
     def mousedown_event(self, ev):
         self.highlight = True
-        #self.redraw()
+        self.redraw()
 
     def mouseup_event(self, ev):
         self.highlight = False
-        #self.redraw()
+        self.redraw()
         self.sig_clicked()
 
     def keypress_event(self, ev):