mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
Fix non-working Qt-on-Windows bug workaround.
This commit is contained in:
parent
73d00a4caf
commit
1bc8d6fb18
1 changed files with 1 additions and 1 deletions
|
@ -630,7 +630,7 @@ void MainWindow::showFromTrayMenu() {
|
||||||
// It will receive input events, but it will be rendered as inactive.
|
// It will receive input events, but it will be rendered as inactive.
|
||||||
using namespace rpl::mappers;
|
using namespace rpl::mappers;
|
||||||
_showFromTrayLifetime = trayIconMenu->shownValue(
|
_showFromTrayLifetime = trayIconMenu->shownValue(
|
||||||
) | rpl::filter(_1) | rpl::take(1) | rpl::start_with_next([=] {
|
) | rpl::filter(!_1) | rpl::take(1) | rpl::start_with_next([=] {
|
||||||
showFromTray();
|
showFromTray();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue