From 2e6407357d78b7fc3f6648598c7cfdb3e5009784 Mon Sep 17 00:00:00 2001 From: weijiuqiao <59040746+weijiuqiao@users.noreply.github.com> Date: Thu, 19 Sep 2024 00:54:09 +0800 Subject: [PATCH] VocabBuilder.koplugin: save dict headword as entry (#12530) Closes #12529. --- plugins/vocabbuilder.koplugin/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/vocabbuilder.koplugin/main.lua b/plugins/vocabbuilder.koplugin/main.lua index 898113ee8..0e8a2a8d2 100644 --- a/plugins/vocabbuilder.koplugin/main.lua +++ b/plugins/vocabbuilder.koplugin/main.lua @@ -2038,7 +2038,7 @@ function VocabBuilder:onDictButtonsReady(dict_popup, buttons) font_bold = false, callback = function() local book_title = (dict_popup.ui.doc_props and dict_popup.ui.doc_props.display_title) or _("Dictionary lookup") - dict_popup.ui:handleEvent(Event:new("WordLookedUp", dict_popup.word, book_title, true)) -- is_manual: true + dict_popup.ui:handleEvent(Event:new("WordLookedUp", dict_popup.lookupword, book_title, true)) -- is_manual: true local button = dict_popup.button_table.button_by_id["vocabulary"] if button then button:disable()