2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Remove DocumentData::actionOnLoad. Fix GIF open.

This commit is contained in:
John Preston
2019-03-11 18:35:11 +04:00
parent 261720c941
commit c063d94aa5
20 changed files with 148 additions and 277 deletions

View File

@@ -1388,10 +1388,6 @@ void MainWidget::documentLoadProgress(FileLoader *loader) {
}
void MainWidget::documentLoadProgress(DocumentData *document) {
if (document->loaded()) {
document->performActionOnLoad();
}
session().data().requestDocumentViewRepaint(document);
session().documentUpdated.notify(document, true);