mirror of
https://github.com/monero-project/monero-gui
synced 2024-11-18 14:06:06 +01:00
Merge pull request #177
d62dd3e
History: do not dereference a null model (moneromooo.monero)
This commit is contained in:
commit
c83336cc47
@ -48,7 +48,7 @@ Rectangle {
|
||||
color: "#F0EEEE"
|
||||
|
||||
function getSelectedAmount() {
|
||||
if (typeof model === 'undefined')
|
||||
if (typeof model === 'undefined' || model == null)
|
||||
return ""
|
||||
var total = 0
|
||||
var count = model.rowCount()
|
||||
|
Loading…
Reference in New Issue
Block a user