Merge pull request #148

957e224 History: don't use a NULL model (moneromooo.monero)
This commit is contained in:
Riccardo Spagni 2016-11-11 12:47:20 +02:00
commit b8b2d148f1
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -48,6 +48,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) {