commit 25f424a8d8328b7e869b06a9bfa4a891580a8960
parent 9b07aca88fcc51fadd09bf3b4043547b7fcbffa0
Author: Maran <maran.hidskes@gmail.com>
Date: Fri, 14 Dec 2012 12:14:38 +0100
Fix for slush's problem, perhaps
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/lib/history_widget.py b/lib/history_widget.py
@@ -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)