2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

fixed tray notifications toggle, 0.9.4.dev version

This commit is contained in:
John Preston
2015-10-12 23:48:14 +02:00
parent 2e2455cf81
commit ed707c8f0e
3 changed files with 9 additions and 2 deletions

View File

@@ -1467,12 +1467,12 @@ void SettingsInner::onDesktopNotify() {
App::wnd()->notifyClear();
_senderName.setDisabled(true);
_messagePreview.setDisabled(true);
Local::writeUserSettings();
} else {
_senderName.setDisabled(false);
_messagePreview.setDisabled(!_senderName.checked());
Local::writeUserSettings();
}
Local::writeUserSettings();
if (App::wnd()) App::wnd()->updateTrayMenu();
}
void SettingsInner::enableDisplayNotify(bool enable)