electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 51368f6aa88dab2b2c576d4fd4260972b26ae644
parent a3554dc2b7838b130becd004385b003a0fc79a63
Author: ThomasV <thomasv@electrum.org>
Date:   Tue, 27 Feb 2018 17:38:04 +0100

fix 3930: do not filter addresses by default

Diffstat:
Mgui/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 @@ -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()