minor fix: parent.wallet

This commit is contained in:
ThomasV 2015-04-20 09:25:01 +02:00
parent 50bc50d78d
commit 50fed3dce5

View file

@ -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