Merge pull request #187

8214948 MiddlePanel: fix null pointer dereference for history model (moneromooo.monero)
This commit is contained in:
Riccardo Spagni 2016-11-24 12:33:44 +02:00
commit d5fc4afc43
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -106,7 +106,7 @@ Rectangle {
}, State {
name: "History"
PropertyChanges { target: root; currentView: historyView }
PropertyChanges { target: historyView; model: appWindow.currentWallet.historyModel }
PropertyChanges { target: historyView; model: appWindow.currentWallet ? appWindow.currentWallet.historyModel : null }
}, State {
name: "Transfer"
PropertyChanges { target: root; currentView: transferView }