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

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