History: don't use a NULL model

This commit is contained in:
moneromooo.monero 2016-11-10 20:14:22 +00:00
parent 68736ab834
commit 957e22422c

View File

@ -43,6 +43,8 @@ Rectangle {
color: "#F0EEEE"
function getSelectedAmount() {
if (typeof model === 'undefined')
return ""
var total = 0
var count = model.rowCount()
for (var i = 0; i < count; ++i) {