From 82a932e1255bc675aabacaccf4337c7390ef1cae Mon Sep 17 00:00:00 2001 From: "m.kawonczyk" Date: Thu, 7 Jul 2016 15:26:48 +0200 Subject: History not visible when opened first time [Issue] N/A [Problem] History added elements to a non-created view. [Solution] Create UI before appending elements. [Verify] Open History and see if it works correctly. Change-Id: Iebd5063034468ec554999529d8dd0ba4ebf285bb --- services/SimpleUI/SimpleUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/SimpleUI/SimpleUI.cpp b/services/SimpleUI/SimpleUI.cpp index bd1cf104..db9cf70d 100644 --- a/services/SimpleUI/SimpleUI.cpp +++ b/services/SimpleUI/SimpleUI.cpp @@ -1504,6 +1504,7 @@ void SimpleUI::certPopupButtonClicked(PopupButtons button, std::shared_ptraddHistoryItems(m_historyService->getHistoryToday(), HistoryPeriod::HISTORY_TODAY); m_historyUI->addHistoryItems(m_historyService->getHistoryYesterday(), @@ -1514,7 +1515,6 @@ void SimpleUI::showHistoryUI() HistoryPeriod::HISTORY_LASTMONTH); m_historyUI->addHistoryItems(m_historyService->getHistoryOlder(), HistoryPeriod::HISTORY_OLDER); - m_viewManager.pushViewToStack(m_historyUI.get()); } void SimpleUI::closeHistoryUI() -- cgit v1.2.3