Merge pull request #224

ab61910 Receive: tx scanner for payments matching setup (moneromooo.monero)
87d0751 libwalletqt: add a few daemon read access routines (moneromooo.monero)
af4e49c MiddlePanel: add an optional onPageClosed callback (moneromooo.monero)
This commit is contained in:
Riccardo Spagni
2016-12-08 23:58:22 +02:00
5 changed files with 189 additions and 1 deletions

View File

@@ -40,6 +40,7 @@ Rectangle {
id: root
property Item currentView
property Item previousView
property bool basicMode : false
property string balanceText
property string unlockedBalanceText
@@ -60,6 +61,12 @@ Rectangle {
color: "#F0EEEE"
onCurrentViewChanged: {
if (previousView) {
if (typeof previousView.onPageClosed === "function") {
previousView.onPageClosed();
}
}
previousView = currentView
if (currentView) {
stackView.replace(currentView)