commit 6b7d5abd29bc726a55f32b7e28cc226704fc1e6f
parent ab042a0914bea81dd8c66cca091633720c1eab80
Author: SomberNight <somber.night@protonmail.com>
Date: Tue, 6 Mar 2018 07:13:35 +0100
fix #4039
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/qt/address_list.py b/gui/qt/address_list.py
@@ -123,7 +123,7 @@ class AddressList(MyTreeWidget):
address_item.setText(0, _('receiving'))
address_item.setBackground(0, ColorScheme.GREEN.as_color(True))
address_item.setFont(1, QFont(MONOSPACE_FONT))
- address_item.setData(1, Qt.UserRole, address)
+ address_item.setData(0, Qt.UserRole, address) # column 0; independent from address column
if self.wallet.is_frozen(address):
address_item.setBackground(1, ColorScheme.BLUE.as_color(True))
if self.wallet.is_beyond_limit(address):