From 1e413cb01867db6109e4b6d56a483f109fe0725b Mon Sep 17 00:00:00 2001 From: Joe Shochet Date: Fri, 18 May 2001 17:22:37 +0000 Subject: [PATCH] *** empty log message *** --- direct/src/gui/Button.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/direct/src/gui/Button.py b/direct/src/gui/Button.py index 7507d1c6cc..86fb92c7df 100644 --- a/direct/src/gui/Button.py +++ b/direct/src/gui/Button.py @@ -163,6 +163,10 @@ class Button(DirectObject): self.button.inactive() else: self.button.up() + # Turning the button inactive stops the behavior, so + # we must restart it here + if (self.event != None): + self.button.startBehavior() def manage(self, nodepath = aspect2d): if not self.managed: