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:
@@ -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({});
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user