2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Removed App::main() from file click handlers.

This commit is contained in:
23rd
2021-06-18 09:20:49 +03:00
parent 460baa54d8
commit 23c54896e5
15 changed files with 86 additions and 24 deletions

View File

@@ -343,9 +343,9 @@ Media::View::OpenRequest Result::openRequest() {
void Result::cancelFile() {
if (_document) {
DocumentCancelClickHandler(_document).onClick({});
DocumentCancelClickHandler(_document, nullptr).onClick({});
} else if (_photo) {
PhotoCancelClickHandler(_photo).onClick({});
PhotoCancelClickHandler(_photo, nullptr).onClick({});
}
}