aboutsummaryrefslogtreecommitdiff
path: root/MiddlePanel.qml
diff options
context:
space:
mode:
authorJacob Brydolf <jacob@brydolf.net>2016-10-04 12:15:29 +0200
committerIlya Kitaev <mbg033@gmail.com>2016-10-10 00:15:17 +0300
commit9cc92bf9d69652104b28e0907de12d83cfadaa20 (patch)
treedc1807e17029f1595cb36ee4cf3df7291e110819 /MiddlePanel.qml
parent53d3bc4f06eb8f4437b08c48ffff08d4ae793eac (diff)
downloadmonzero-gui-9cc92bf9d69652104b28e0907de12d83cfadaa20.tar.gz
monzero-gui-9cc92bf9d69652104b28e0907de12d83cfadaa20.tar.xz
monzero-gui-9cc92bf9d69652104b28e0907de12d83cfadaa20.zip
added onPageCompleted
Diffstat (limited to 'MiddlePanel.qml')
-rw-r--r--MiddlePanel.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/MiddlePanel.qml b/MiddlePanel.qml
index a8529c9b..6ce1c242 100644
--- a/MiddlePanel.qml
+++ b/MiddlePanel.qml
@@ -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();
+ }
}
}