Disable spec notification toggle if notifications are off on dlg create

This commit is contained in:
Gavin Bises 2015-02-20 21:36:18 -05:00
parent 1562c234ca
commit 5fc28e31a6

View file

@ -449,6 +449,7 @@ UserInterfaceSettingsPage::UserInterfaceSettingsPage()
connect(&notificationsEnabledCheckBox, SIGNAL(stateChanged(int)), this, SLOT(setSpecNotificationEnabled(int)));
specNotificationsEnabledCheckBox.setChecked(settingsCache->getSpectatorNotificationsEnabled());
specNotificationsEnabledCheckBox.setEnabled(settingsCache->getNotificationsEnabled());
connect(&specNotificationsEnabledCheckBox, SIGNAL(stateChanged(int)), settingsCache, SLOT(setSpectatorNotificationsEnabled(int)));
doubleClickToPlayCheckBox.setChecked(settingsCache->getDoubleClickToPlay());