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
1 changed files with 2 additions and 0 deletions

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);
}