mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-14 04:16:33 +02: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