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:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user