fix text not switched to english/translated when checkbox change

This commit is contained in:
un-pogaz 2024-11-29 10:40:20 +01:00
parent 1e8b9a18fb
commit 67c0e9a9af

View File

@ -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())