git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9b07aca
)
Fix for slush's problem, perhaps
author
Maran
<maran.hidskes@gmail.com>
Fri, 14 Dec 2012 11:14:38 +0000 (12:14 +0100)
committer
Maran
<maran.hidskes@gmail.com>
Fri, 14 Dec 2012 11:14:38 +0000 (12:14 +0100)
lib/history_widget.py
patch
|
blob
|
history
diff --git
a/lib/history_widget.py
b/lib/history_widget.py
index
ce1f2cb
..
f04d1e7
100644
(file)
--- 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)