commit ab0447d01e728a94e1da790bdc3e62f780c3b502 parent de5c9c2f836bf44e5441254c01dc328f69460a46 Author: ThomasV <thomasv@gitorious> Date: Thu, 23 Apr 2015 17:11:43 +0200 lite gui: update completions Diffstat:
M | gui/qt/lite_window.py | | | 5 | +---- |
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/gui/qt/lite_window.py b/gui/qt/lite_window.py @@ -855,10 +855,7 @@ class MiniDriver(QObject): self.window.set_balances(balance) def update_completions(self): - completions = [] - for addr, label in self.g.wallet.labels.items(): - if addr in self.g.wallet.addressbook: - completions.append("%s <%s>" % (label, addr)) + completions = [self.g.get_contact_payto(key) for key in self.g.contacts.keys()] self.window.update_completions(completions) def update_history(self):