1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(ui): don't forget to update UI

This commit is contained in:
Monsterovich 2019-05-23 01:42:20 +02:00
parent 4a6ebff63a
commit 84e41303ce

View File

@ -78,6 +78,7 @@ UserInterfaceForm::UserInterfaceForm(SettingsWidget* myParent)
bodyUI->groupOnlyNotfiyWhenMentioned->setChecked(!s.getGroupAlwaysNotify()); bodyUI->groupOnlyNotfiyWhenMentioned->setChecked(!s.getGroupAlwaysNotify());
bodyUI->groupOnlyNotfiyWhenMentioned->setEnabled(s.getNotify()); bodyUI->groupOnlyNotfiyWhenMentioned->setEnabled(s.getNotify());
bodyUI->notifySound->setChecked(s.getNotifySound()); bodyUI->notifySound->setChecked(s.getNotifySound());
bodyUI->notifyHide->setChecked(s.getNotifyHide());
bodyUI->notifySound->setEnabled(s.getNotify()); bodyUI->notifySound->setEnabled(s.getNotify());
bodyUI->busySound->setChecked(s.getBusySound()); bodyUI->busySound->setChecked(s.getBusySound());
bodyUI->busySound->setEnabled(s.getNotifySound() && s.getNotify()); bodyUI->busySound->setEnabled(s.getNotifySound() && s.getNotify());