|
|
@ -95,9 +95,9 @@ class AddressList(MyTreeWidget): |
|
|
|
address_item.setData(0, Qt.UserRole, address) |
|
|
|
address_item.setData(0, Qt.UserRole+1, True) # label can be edited |
|
|
|
if self.wallet.is_frozen(address): |
|
|
|
address_item.setBackgroundColor(0, QColor('lightblue')) |
|
|
|
address_item.setBackground(0, QColor('lightblue')) |
|
|
|
if self.wallet.is_beyond_limit(address, is_change): |
|
|
|
address_item.setBackgroundColor(0, QColor('red')) |
|
|
|
address_item.setBackground(0, QColor('red')) |
|
|
|
if is_used: |
|
|
|
if not used_flag: |
|
|
|
seq_item.insertChild(0, used_item) |
|
|
|