|
@ -124,7 +124,6 @@ class AddressList(MyTreeWidget): |
|
|
address_item.setBackground(0, ColorScheme.GREEN.as_color(True)) |
|
|
address_item.setBackground(0, ColorScheme.GREEN.as_color(True)) |
|
|
address_item.setFont(1, QFont(MONOSPACE_FONT)) |
|
|
address_item.setFont(1, QFont(MONOSPACE_FONT)) |
|
|
address_item.setData(1, Qt.UserRole, address) |
|
|
address_item.setData(1, Qt.UserRole, address) |
|
|
address_item.setData(1, Qt.UserRole+1, True) # label can be edited |
|
|
|
|
|
if self.wallet.is_frozen(address): |
|
|
if self.wallet.is_frozen(address): |
|
|
address_item.setBackground(1, ColorScheme.BLUE.as_color(True)) |
|
|
address_item.setBackground(1, ColorScheme.BLUE.as_color(True)) |
|
|
if self.wallet.is_beyond_limit(address): |
|
|
if self.wallet.is_beyond_limit(address): |
|
|