Don't close send files box by outside click.

This commit is contained in:
John Preston 2018-07-24 21:56:08 +03:00
parent bfae205fbe
commit ca6a331a26
1 changed files with 3 additions and 1 deletions

View File

@ -4250,7 +4250,9 @@ bool HistoryWidget::confirmSendingFiles(
}));
ActivateWindowDelayed(controller());
Ui::show(std::move(box));
const auto shown = Ui::show(std::move(box));
shown->setCloseByOutsideClick(false);
return true;
}