2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 15:35:51 +00:00

Fix macOS native notification callbacks.

This commit is contained in:
John Preston
2017-03-08 10:31:05 +03:00
parent ed3b2cc017
commit b5d9eee489
2 changed files with 20 additions and 14 deletions

View File

@@ -187,7 +187,7 @@ void MainWindow::firstShow() {
trayIconMenu->addAction(notificationActionText, this, SLOT(toggleDisplayNotifyFromTray()))->setEnabled(true);
trayIconMenu->addAction(lang(lng_quit_from_tray), this, SLOT(quitFromTray()))->setEnabled(true);
}
workmodeUpdated(Global::WorkMode().value());
Global::RefWorkMode().setForced(Global::WorkMode().value(), true);
psFirstShow();
updateTrayMenu();