From df77ceb6178beb77b2371ac622d66135bd22939d Mon Sep 17 00:00:00 2001 From: "m.kawonczyk" Date: Tue, 12 Jul 2016 09:42:00 +0200 Subject: Fix regresion made by SVACE 83651 [Issue] N/A [Problem] Tab did not update screenshot after load,finished. [Solution] Call function omited after SVACE. [Verify] Open website, go to tabs to see temporary screenshot. Go back to website, wait until it finished loading and go to tabs. Screenshot should be updated. Change-Id: If1c778183cc66946bcefe0c4f651b178cb8b281c --- services/SimpleUI/SimpleUI.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/services/SimpleUI/SimpleUI.cpp b/services/SimpleUI/SimpleUI.cpp index 54d3b8d0..06b85f9f 100644 --- a/services/SimpleUI/SimpleUI.cpp +++ b/services/SimpleUI/SimpleUI.cpp @@ -938,6 +938,7 @@ void SimpleUI::onSnapshotCaptured(std::shared_ptr snapshot, switch (snapshot_type) { case tools::SnapshotType::ASYNC_LOAD_FINISHED: m_historyService->updateHistoryItemSnapshot(m_webEngine->getURI(), snapshot); + m_tabService->updateTabItemSnapshot(m_webEngine->currentTabId(), snapshot); break; case tools::SnapshotType::ASYNC_TAB: m_tabService->updateTabItemSnapshot(m_webEngine->currentTabId(), snapshot); -- cgit v1.2.3