--- a/UI/Previewers/PreviewerHTML.py Sat Oct 22 18:35:10 2016 +0200 +++ b/UI/Previewers/PreviewerHTML.py Mon Oct 24 18:53:40 2016 +0200 @@ -252,7 +252,10 @@ "return res;" "})()" ) - pos = QPoint(pos["x"], pos["y"]) + if pos is not None: + pos = QPoint(pos["x"], pos["y"]) + else: + pos = QPoint(0, 0) self.__scrollBarPositions[self.__previewedPath] = pos self.__hScrollBarAtEnd[self.__previewedPath] = False self.__vScrollBarAtEnd[self.__previewedPath] = False