Skip to content

Commit

Permalink
fix: popup dialog , switch groups should use articleview's word
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyifang committed Aug 8, 2024
1 parent f238619 commit 9eb206c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ui/scanpopup.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 9eb206c

Please sign in to comment.