diff --git a/src/lib/webview/webview.cpp b/src/lib/webview/webview.cpp index 88050a1d2..d296d9235 100644 --- a/src/lib/webview/webview.cpp +++ b/src/lib/webview/webview.cpp @@ -118,6 +118,10 @@ WebPage* WebView::page() const void WebView::setPage(QWebPage* page) { + if (m_page == page) { + return; + } + QWebView::setPage(page); m_page = qobject_cast(page);