View Single Post
Old 02-02-2025, 11:08 AM   #1
sdothum
Enthusiast
sdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it is
 
Posts: 36
Karma: 2062
Join Date: Oct 2021
Device: Kobo Libra 2
Unable to close the dictionary (widget) from plugin patch

I have created a plugin patch for the VocabBuilder plugin.. essentially patching the "onDictButtonReady" function.

The problem i am having is closing the dictionary window upon tapping the "Add to vocabulary builder" button -- to save the extra "close" button tap to close the widget.

DictQuickLookupnClose() crashes KOReader.

So.. what needs be done beyond the "require" for its module? Or is some other approach needed to close the dictionary?
sdothum is offline   Reply With Quote