Fixed non focused window when process credits payment from web view bot.

This commit is contained in:
23rd 2024-10-07 18:47:31 +03:00
parent 2d20e7a9e2
commit 6a69447d90

View file

@ -138,6 +138,7 @@ Fn<void(NonPanelPaymentForm)> ProcessNonPanelPaymentFormFactory(
controller->content().get(),
form,
maybeReturnToBot);
controller->window().activate();
}, [&](const CreditsReceiptPtr &receipt) {
ProcessCreditsReceipt(controller, receipt, maybeReturnToBot);
}, [](RealFormPresentedNotification) {});