mirror of
https://github.com/ankitects/anki.git
synced 2025-12-13 23:00:58 -05: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={}):
|
def showText(self, text, py={}):
|
||||||
if "hide" in self.handlers:
|
if "hide" in self.handlers:
|
||||||
if self.handlers['hide'] != py['hide']:
|
if self.handlers['hide'] != py.get('hide'):
|
||||||
self.handlers["hide"]()
|
self.handlers["hide"]()
|
||||||
self.show()
|
self.show()
|
||||||
self.buffer = text
|
self.buffer = text
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue