Don't close send files box by outside click.

Этот коммит содержится в:
John Preston 2018-07-24 21:56:08 +03:00
родитель bfae205fbe
Коммит ca6a331a26
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

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