added onPageCompleted

This commit is contained in:
Jacob Brydolf
2016-10-04 12:15:29 +02:00
committed by Ilya Kitaev
parent 53d3bc4f06
commit 9cc92bf9d6
2 changed files with 18 additions and 8 deletions

View File

@@ -44,6 +44,11 @@ Rectangle {
onCurrentViewChanged: {
if (currentView) {
stackView.replace(currentView)
// Component.onCompleted is called before wallet is initilized
if (typeof currentView.onPageCompleted === "function") {
currentView.onPageCompleted();
}
}
}