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

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 }