make sure help doesn't pop back up w/ card stats

This commit is contained in:
Damien Elmes 2009-02-06 19:19:16 +09:00
parent 0af13cb550
commit b9676149a3

View file

@ -21,6 +21,7 @@ class HelpArea(object):
else:
self.focus=focus
self.config = config
self.handlers = []
self.widget.connect(self.widget, SIGNAL("anchorClicked(QUrl)"),
self.anchorClicked)
if sys.platform.startswith("darwin"):
@ -39,6 +40,8 @@ class HelpArea(object):
runHook("helpChanged")
def showText(self, text, py={}):
if "hide" in self.handlers:
self.handlers["hide"]()
self.show()
self.buffer = text
self.addHider()