mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
"Auto-pronounce in Scan Pop-Up" option should not be disabled when the Scan Pop-Up is disabled.
Because users can manually show the scan pop-up via Ctrl+C+C.
This commit is contained in:
parent
68335ba349
commit
a03d4d2dde
|
@ -142,8 +142,6 @@ Preferences::Preferences( QWidget * parent, Config::Preferences const & p ):
|
|||
ui.useWindowsPlaySound->hide();
|
||||
#endif
|
||||
|
||||
ui.pronounceOnLoadPopup->setEnabled( p.enableScanPopup );
|
||||
|
||||
ui.pronounceOnLoadMain->setChecked( p.pronounceOnLoadMain );
|
||||
ui.pronounceOnLoadPopup->setChecked( p.pronounceOnLoadPopup );
|
||||
|
||||
|
@ -253,7 +251,6 @@ Config::Preferences Preferences::getPreferences()
|
|||
void Preferences::enableScanPopupToggled( bool b )
|
||||
{
|
||||
ui.scanPopupModifiers->setEnabled( b && ui.enableScanPopupModifiers->isChecked() );
|
||||
ui.pronounceOnLoadPopup->setEnabled( b );
|
||||
}
|
||||
|
||||
void Preferences::enableScanPopupModifiersToggled( bool b )
|
||||
|
|
Loading…
Reference in a new issue