fixes for lite gui (issue #262)

This commit is contained in:
ThomasV 2013-10-07 07:34:25 +02:00
parent a1f6da390d
commit dae4de35f7
2 changed files with 6 additions and 4 deletions

View File

@ -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:

View File

@ -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()