mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
fix: send to mainwindow got empty word
a regression due to Input Phase change: if word is sent to mainwindow, then definition->getWord() would be empty
This commit is contained in:
parent
3ffdbe0079
commit
7f994112b7
|
@ -494,7 +494,7 @@ void ScanPopup::engagePopup( bool forcePopup, bool giveFocus )
|
|||
if( cfg.preferences.scanToMainWindow && !forcePopup )
|
||||
{
|
||||
// Send translated word to main window istead of show popup
|
||||
emit sendPhraseToMainWindow( definition->getWord() );
|
||||
emit sendPhraseToMainWindow( pendingWord );
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue