Fix non-working Qt-on-Windows bug workaround.

This commit is contained in:
John Preston 2022-04-21 15:23:32 +04:00
parent 73d00a4caf
commit 1bc8d6fb18
1 changed files with 1 additions and 1 deletions

View File

@ -630,7 +630,7 @@ void MainWindow::showFromTrayMenu() {
// It will receive input events, but it will be rendered as inactive.
using namespace rpl::mappers;
_showFromTrayLifetime = trayIconMenu->shownValue(
) | rpl::filter(_1) | rpl::take(1) | rpl::start_with_next([=] {
) | rpl::filter(!_1) | rpl::take(1) | rpl::start_with_next([=] {
showFromTray();
});
}