Fix broken ask_for_help().
This commit is contained in:
parent
f771722d0b
commit
1f91582ccd
3 changed files with 4 additions and 4 deletions
|
|
@ -69,7 +69,7 @@ class Document(object):
|
|||
try:
|
||||
glyph_data = self.glyphdb[glyph]
|
||||
except KeyError:
|
||||
text, bold, italic = self.ui.ask_for_help(glyph)
|
||||
text, bold, italic = self.ui.ask_for_help(glyph, self.last_style.bold, self.last_style.italic)
|
||||
glyph_data = self.glyphdb.add_glyph(glyph, text, bold, italic)
|
||||
self.last_style = glyph_data.style
|
||||
return glyph_data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue