summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2020-01-21 16:32:24 +0100
committerPeter Varga <pvarga@inf.u-szeged.hu>2020-02-19 15:54:45 +0100
commit2f56fd4a6b9b6f806334ba64b3689151a78d1d90 (patch)
tree75f585920a72fbdb16e46e4dfc8a1023c66235e3 /src
parent578f432c4d6517ab1d8fff8b8b08a47135910b41 (diff)
Update navigation actions when load finishes in a subframe
Fixes: QTBUG-81521 Change-Id: I8ca82224cd834b667471d1e96a44430164d3669e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/core/web_contents_delegate_qt.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/web_contents_delegate_qt.cpp b/src/core/web_contents_delegate_qt.cpp
index 20de0546f..c840b7f43 100644
--- a/src/core/web_contents_delegate_qt.cpp
+++ b/src/core/web_contents_delegate_qt.cpp
@@ -409,8 +409,10 @@ void WebContentsDelegateQt::DidFinishLoad(content::RenderFrameHost* render_frame
return;
}
- if (render_frame_host->GetParent())
+ if (render_frame_host->GetParent()) {
+ m_viewClient->updateNavigationActions();
return;
+ }
if (!m_faviconManager->hasCandidate())
m_viewClient->iconChanged(QUrl());