mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
make sure help doesn't pop back up w/ card stats
This commit is contained in:
parent
0af13cb550
commit
b9676149a3
1 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue