mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
fix: popup dialog , switch groups should use articleview's word
This commit is contained in:
parent
f2386193f0
commit
ec63fa550d
|
@ -593,7 +593,8 @@ void ScanPopup::currentGroupChanged( int )
|
||||||
|
|
||||||
if ( isVisible() ) {
|
if ( isVisible() ) {
|
||||||
updateSuggestionList();
|
updateSuggestionList();
|
||||||
translateInputFinished();
|
QString word = Folding::unescapeWildcardSymbols( definition->getWord() );
|
||||||
|
showTranslationFor( word );
|
||||||
}
|
}
|
||||||
|
|
||||||
cfg.lastPopupGroupId = ui.groupList->getCurrentGroup();
|
cfg.lastPopupGroupId = ui.groupList->getCurrentGroup();
|
||||||
|
|
Loading…
Reference in a new issue