electrum

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

commit dae4de35f73a3c91af6e8aeddff832d25f7ad256
parent a1f6da390db8203095e984605a61c031cf9435d9
Author: ThomasV <thomasv@gitorious>
Date:   Mon,  7 Oct 2013 07:34:25 +0200

fixes for lite gui (issue #262)

Diffstat:
Mgui/qt/lite_window.py | 7+++++--
Mgui/qt/receiving_widget.py | 3+--
2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/gui/qt/lite_window.py b/gui/qt/lite_window.py @@ -673,7 +673,7 @@ class MiniActuator: def change_theme(self, theme_name): """Change theme.""" self.theme_name = theme_name - self.config.set_key('litegui_theme',theme_name) + self.g.config.set_key('litegui_theme',theme_name) self.load_theme() def set_configured_currency(self, set_quote_currency): @@ -687,7 +687,8 @@ class MiniActuator: def set_config_currency(self, conversion_currency): """Change the wallet fiat currency country.""" - self.g.config.set_key('conversion_currency',conversion_currency,True) + self.g.config.set_key('currency',conversion_currency,True) + self.g.update_status() def copy_address(self, receive_popup): """Copy the wallet addresses into the client.""" @@ -851,6 +852,8 @@ class MiniDriver(QObject): self.update_balance() self.update_completions() self.update_history() + self.window.receiving.update_list() + def initializing(self): if self.state == self.INITIALIZING: diff --git a/gui/qt/receiving_widget.py b/gui/qt/receiving_widget.py @@ -27,7 +27,7 @@ class ReceivingWidget(QTreeWidget): else: address = str(item.text(0)) label = unicode( item.text(1) ) - self.owner.actuator.g.wallet.labels[address] = label + self.owner.actuator.g.wallet.set_label(address, label) def copy_address(self): address = self.currentItem().text(0) @@ -74,4 +74,3 @@ class ReceivingWidget(QTreeWidget): self.hide_used = True self.setColumnHidden(2, True) - #self.update_list()