From 0479c2d7dce8680ff7f06aabf70352aaa9023f97 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 13 Mar 2009 18:35:58 +0900 Subject: [PATCH] only call help hide handler if it's a different handler --- ankiqt/ui/help.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ankiqt/ui/help.py b/ankiqt/ui/help.py index 564b127b9..c7742fa24 100644 --- a/ankiqt/ui/help.py +++ b/ankiqt/ui/help.py @@ -41,7 +41,8 @@ class HelpArea(object): def showText(self, text, py={}): if "hide" in self.handlers: - self.handlers["hide"]() + if self.handlers['hide'] != py['hide']: + self.handlers["hide"]() self.show() self.buffer = text self.addHider()