From ec63fa550d86d495c948a7afb6c43524c488c7bd Mon Sep 17 00:00:00 2001 From: Xiao Yi Fang Date: Thu, 8 Aug 2024 11:42:22 +0800 Subject: [PATCH] fix: popup dialog , switch groups should use articleview's word --- src/ui/scanpopup.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/scanpopup.cc b/src/ui/scanpopup.cc index 01e49e11..cb428f3f 100644 --- a/src/ui/scanpopup.cc +++ b/src/ui/scanpopup.cc @@ -593,7 +593,8 @@ void ScanPopup::currentGroupChanged( int ) if ( isVisible() ) { updateSuggestionList(); - translateInputFinished(); + QString word = Folding::unescapeWildcardSymbols( definition->getWord() ); + showTranslationFor( word ); } cfg.lastPopupGroupId = ui.groupList->getCurrentGroup();