mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +00:00
Only process clipboard change when scanning enabled
This commit is contained in:
parent
20b435053f
commit
a4359bef3c
|
@ -914,7 +914,7 @@ MainWindow::MainWindow( Config::Class & cfg_ ):
|
|||
void MainWindow::clipboardChange( )
|
||||
{
|
||||
qDebug() << "clipboard change ," << scanPopup.get();
|
||||
if( scanPopup )
|
||||
if( scanPopup && enableScanningAction->isChecked() )
|
||||
{
|
||||
scanPopup->translateWordFromClipboard();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue