Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: popup dialog , switch groups should use articleview's word
Browse files Browse the repository at this point in the history
xiaoyifang committed Aug 8, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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
@@ -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();

0 comments on commit 9eb206c

Please sign in to comment.