mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
ensure hide is available in help.py
This commit is contained in:
parent
0abe7f1de2
commit
0f293b3e01
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class HelpArea(object):
|
|||
|
||||
def showText(self, text, py={}):
|
||||
if "hide" in self.handlers:
|
||||
if self.handlers['hide'] != py['hide']:
|
||||
if self.handlers['hide'] != py.get('hide'):
|
||||
self.handlers["hide"]()
|
||||
self.show()
|
||||
self.buffer = text
|
||||
|
|
Loading…
Reference in a new issue