Fix for slush's problem, perhaps

This commit is contained in:
Maran 2012-12-14 12:14:38 +01:00
parent 9b07aca88f
commit 25f424a8d8
1 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,12 @@ class HistoryWidget(QTreeWidget):
self.clear()
def append(self, address, amount, date):
if address is None:
address = "Unknown"
if amount is None:
amount = "Unknown"
if date is None:
date = "Unknown"
item = QTreeWidgetItem([amount, address, date])
self.insertTopLevelItem(0, item)