1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-18 14:06:06 +01:00

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