1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-30 19:15:08 +01:00

Do not allow user to check "keep running in the background" if "show tray icon" is unchecked.

Select "keep running in the background" by default if user checks "show tray icon".
Fixes issue 2832.
This commit is contained in:
Arnaud Bienner 2012-03-26 19:06:37 +02:00
parent 01440eef50
commit e33de66d0f

View File

@ -152,4 +152,6 @@ void BehaviourSettingsPage::ShowTrayIconToggled(bool on) {
ui_->b_always_hide_->setEnabled(on);
if (!on && ui_->b_always_hide_->isChecked())
ui_->b_remember_->setChecked(true);
ui_->b_keep_running_->setEnabled(on);
ui_->b_keep_running_->setChecked(on);
}