From 51368f6aa88dab2b2c576d4fd4260972b26ae644 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 27 Feb 2018 17:38:04 +0100 Subject: [PATCH] fix 3930: do not filter addresses by default --- gui/qt/address_list.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gui/qt/address_list.py b/gui/qt/address_list.py index b7261d9d7..12ed5c46d 100644 --- a/gui/qt/address_list.py +++ b/gui/qt/address_list.py @@ -42,7 +42,7 @@ class AddressList(MyTreeWidget): self.show_used = 0 self.change_button = QComboBox(self) self.change_button.currentIndexChanged.connect(self.toggle_change) - for t in [_('Receiving'), _('Change'), _('All')]: + for t in [_('All'), _('Receiving'), _('Change')]: self.change_button.addItem(t) self.used_button = QComboBox(self) self.used_button.currentIndexChanged.connect(self.toggle_used) @@ -76,9 +76,9 @@ class AddressList(MyTreeWidget): self.wallet = self.parent.wallet item = self.currentItem() current_address = item.data(0, Qt.UserRole) if item else None - if self.show_change == 0: + if self.show_change == 1: addr_list = self.wallet.get_receiving_addresses() - elif self.show_change == 1: + elif self.show_change == 2: addr_list = self.wallet.get_change_addresses() else: addr_list = self.wallet.get_addresses()