Merge pull request #187

8214948 MiddlePanel: fix null pointer dereference for history model (moneromooo.monero)
pull/2/head
Riccardo Spagni 8 years ago
commit d5fc4afc43
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

@ -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 }