commit 50fed3dce59196aeee29e63c737f25357b0a5a01
parent 50bc50d78dda7b70d8f4c7f888934c180f36c5a2
Author: ThomasV <thomasv@gitorious>
Date: Mon, 20 Apr 2015 09:25:01 +0200
minor fix: parent.wallet
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/qt/util.py b/gui/qt/util.py
@@ -315,7 +315,7 @@ class MyTreeWidget(QTreeWidget):
if text:
item.setForeground(self.edit_column, QBrush(QColor('black')))
else:
- text = self.wallet.get_default_label(key)
+ text = self.parent.wallet.get_default_label(key)
item.setText(self.edit_column, text)
item.setForeground(self.edit_column, QBrush(QColor('gray')))
self.is_edit = False