From 6788c91aee9598d184162549c2964bf91257b9ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20Ker=C3=A4nen?= Date: Sun, 11 Oct 2020 13:00:37 +0300 Subject: [PATCH 1/1] Fixed saving a page that was restored from cache --- src/ui/documentwidget.c | 2 ++ 1 file changed, 2 insertions(+) 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) { d->initNormScrollY = recent->normScrollY; /* Use the cached response data. */ updateTrust_DocumentWidget_(d, resp); + d->sourceTime = resp->when; + set_Block(&d->sourceContent, &resp->body); updateDocument_DocumentWidget_(d, resp, iTrue); d->scrollY = d->initNormScrollY * size_GmDocument(d->doc).y; d->state = ready_RequestState; -- 2.34.1