changeset 849:547021cd0afa pyntnclick

Disabled widgets should *not* claim to have handled events.
author Jeremy Thurgood <firxen@gmail.com>
date Sun, 15 Dec 2013 12:44:20 +0200
parents 98d1fff734e6
children b36cd122b99c f95830b58336
files pyntnclick/widgets/base.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pyntnclick/widgets/base.py	Sun Dec 15 11:41:27 2013 +0200
+++ b/pyntnclick/widgets/base.py	Sun Dec 15 12:44:20 2013 +0200
@@ -37,7 +37,7 @@
     def event(self, ev):
         "Don't override this without damn good reason"
         if self.disabled or not self.visible:
-            return True
+            return False
 
         type_ = ev.type
         if type_ == USEREVENT: