Merge pull request #177

d62dd3e History: do not dereference a null model (moneromooo.monero)
This commit is contained in:
Riccardo Spagni 2016-11-17 17:05:20 +02:00
commit c83336cc47
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -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()