2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 15:15:13 +00:00

Version 1.0.13: fix unnecessary window activations.

A regression was introduced in 1.0.12 version which led to wrong
activations of the main window: if a custom popup menu was shown
for the tray icon or a custom notification was clicked.
This commit is contained in:
John Preston
2017-02-20 13:36:25 +03:00
parent d408fca96f
commit 5939c54d33
10 changed files with 37 additions and 18 deletions

View File

@@ -922,9 +922,6 @@ void AppClass::onAppStateChanged(Qt::ApplicationState state) {
void AppClass::handleAppActivated() {
checkLocalTime();
if (_window) {
if (_window->isHidden()) {
_window->showFromTray();
}
_window->updateIsActive(Global::OnlineFocusTimeout());
}
}