diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-10-11 13:00:37 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-10-11 13:00:37 +0300 |
commit | 32e53dbd763d0227e6e323d6efcc6e1550f10b37 (patch) | |
tree | 643bc1970a0c5c0dcf609476bc2b462492e766e6 /src | |
parent | a99c7bd93212c3bfed5da847618021c8acac3709 (diff) |
Fixed saving a page that was restored from cache
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/documentwidget.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 1bc2ec12..b977e4d9 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -901,6 +901,8 @@ static iBool updateFromHistory_DocumentWidget_(iDocumentWidget *d) { | |||
901 | d->initNormScrollY = recent->normScrollY; | 901 | d->initNormScrollY = recent->normScrollY; |
902 | /* Use the cached response data. */ | 902 | /* Use the cached response data. */ |
903 | updateTrust_DocumentWidget_(d, resp); | 903 | updateTrust_DocumentWidget_(d, resp); |
904 | d->sourceTime = resp->when; | ||
905 | set_Block(&d->sourceContent, &resp->body); | ||
904 | updateDocument_DocumentWidget_(d, resp, iTrue); | 906 | updateDocument_DocumentWidget_(d, resp, iTrue); |
905 | d->scrollY = d->initNormScrollY * size_GmDocument(d->doc).y; | 907 | d->scrollY = d->initNormScrollY * size_GmDocument(d->doc).y; |
906 | d->state = ready_RequestState; | 908 | d->state = ready_RequestState; |