qt: minor fix

This commit is contained in:
ThomasV 2016-05-30 16:10:25 +02:00
parent 8680eae86f
commit 6322714222
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ class HistoryList(MyTreeWidget):
tx_hash, height, conf, timestamp, value, balance = h_item
if conf == 0:
tx = self.wallet.transactions.get(tx_hash)
is_final = tx.is_final()
is_final = tx and tx.is_final()
else:
is_final = True
icon, time_str = self.get_icon(height, conf, timestamp, is_final)