mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
fix text not switched to english/translated when checkbox change
This commit is contained in:
parent
1e8b9a18fb
commit
67c0e9a9af
@ -154,7 +154,7 @@ class DocViewer(Dialog):
|
||||
self._show_function(fname)
|
||||
|
||||
def _show_function(self, fname):
|
||||
self.last_operation = partial(self.show_function, fname)
|
||||
self.last_operation = partial(self._show_function, fname)
|
||||
bif = self.builtins[fname]
|
||||
if fname not in self.builtins or not bif.doc:
|
||||
self.set_html(self.header_line(fname) + self.no_doc_string())
|
||||
|
Loading…
x
Reference in New Issue
Block a user