diff options
| author | Riccardo Spagni <ric@spagni.net> | 2016-12-08 23:58:22 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2016-12-08 23:58:22 +0200 |
| commit | 72bc417cca35a5acc3fab02f6131a3807108049f (patch) | |
| tree | 59c652e1ce4299eb3706162d68e894c80ff7f64f /MiddlePanel.qml | |
| parent | abbefa9760d8554439df49553700be6ab6234441 (diff) | |
| parent | ab619109e2213dc72a771a106580e63c01b953ff (diff) | |
| download | monzero-gui-72bc417cca35a5acc3fab02f6131a3807108049f.tar.gz monzero-gui-72bc417cca35a5acc3fab02f6131a3807108049f.tar.xz monzero-gui-72bc417cca35a5acc3fab02f6131a3807108049f.zip | |
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)
Diffstat (limited to 'MiddlePanel.qml')
| -rw-r--r-- | MiddlePanel.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/MiddlePanel.qml b/MiddlePanel.qml index 16cc9492..0d9c8ece 100644 --- a/MiddlePanel.qml +++ b/MiddlePanel.qml @@ -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) |
