mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 00:27:26 -04:00
MiddlePanel: fix null pointer dereference for history model
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user