Scroll to anchor when accessing a new page
This commit is contained in:
parent
86f055f616
commit
d2d4733c6f
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user