mirror of
https://github.com/monero-project/monero-gui
synced 2025-03-27 03:52:44 +01:00
MiddlePanel: fix null pointer dereference for history model
This commit is contained in:
parent
c83336cc47
commit
82149485aa
@ -106,7 +106,7 @@ Rectangle {
|
|||||||
}, State {
|
}, State {
|
||||||
name: "History"
|
name: "History"
|
||||||
PropertyChanges { target: root; currentView: historyView }
|
PropertyChanges { target: root; currentView: historyView }
|
||||||
PropertyChanges { target: historyView; model: appWindow.currentWallet.historyModel }
|
PropertyChanges { target: historyView; model: appWindow.currentWallet ? appWindow.currentWallet.historyModel : null }
|
||||||
}, State {
|
}, State {
|
||||||
name: "Transfer"
|
name: "Transfer"
|
||||||
PropertyChanges { target: root; currentView: transferView }
|
PropertyChanges { target: root; currentView: transferView }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user