mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-18 23:53:41 +02:00
History: don't use a NULL model
This commit is contained in:
parent
68736ab834
commit
957e22422c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user