Browse Source

fixes for lite gui (issue #262)

283
ThomasV 11 years ago
parent
commit
dae4de35f7
  1. 7
      gui/qt/lite_window.py
  2. 3
      gui/qt/receiving_widget.py

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

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

Loading…
Cancel
Save