Scroll to anchor when accessing a new page

This commit is contained in:
Fierelier 2021-03-25 22:34:40 +01:00
parent 86f055f616
commit d2d4733c6f
1 changed files with 1 additions and 0 deletions

View File

@ -224,6 +224,7 @@ class browserWindow(QMainWindow):
htm = htm.decode(config["default"]["defaultCharset"],errors="ignore")
self.cDoc.cRenderHtml(htm,contentType)
if self.cAnchor != False: self.cDoc.cScrollToAnchor(self.cAnchor)
end = time.time()
print("Rendering page: " +str(end - start))
self.cStatusBar.showMessage("Ready")