Entering text into vocab search field also displays results for Kanji
Former-commit-id: 956e7df4b9c3191358b0eac34d5bb72d86863b76
This commit is contained in:
parent
e05d2c871b
commit
c206913354
@ -261,6 +261,9 @@ class MainWindowReader(QtGui.QMainWindow, gen.reader_ui.Ui_MainWindowReader):
|
||||
text = unicode(self.textVocabSearch.text())
|
||||
self.state.vocabDefs, length = self.language.findTerm(text, True)
|
||||
self.updateVocabDefs()
|
||||
if self.dockKanji.isVisible():
|
||||
self.state.kanjiDefs = self.language.findCharacters(text)
|
||||
self.updateKanjiDefs()
|
||||
|
||||
|
||||
def onKanjiDefSearchReturn(self):
|
||||
|
Loading…
Reference in New Issue
Block a user