fixes for lite gui (issue #262)
This commit is contained in:
parent
a1f6da390d
commit
dae4de35f7
|
@ -673,7 +673,7 @@ class MiniActuator:
|
||||||
def change_theme(self, theme_name):
|
def change_theme(self, theme_name):
|
||||||
"""Change theme."""
|
"""Change theme."""
|
||||||
self.theme_name = theme_name
|
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()
|
self.load_theme()
|
||||||
|
|
||||||
def set_configured_currency(self, set_quote_currency):
|
def set_configured_currency(self, set_quote_currency):
|
||||||
|
@ -687,7 +687,8 @@ class MiniActuator:
|
||||||
|
|
||||||
def set_config_currency(self, conversion_currency):
|
def set_config_currency(self, conversion_currency):
|
||||||
"""Change the wallet fiat currency country."""
|
"""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):
|
def copy_address(self, receive_popup):
|
||||||
"""Copy the wallet addresses into the client."""
|
"""Copy the wallet addresses into the client."""
|
||||||
|
@ -851,6 +852,8 @@ class MiniDriver(QObject):
|
||||||
self.update_balance()
|
self.update_balance()
|
||||||
self.update_completions()
|
self.update_completions()
|
||||||
self.update_history()
|
self.update_history()
|
||||||
|
self.window.receiving.update_list()
|
||||||
|
|
||||||
|
|
||||||
def initializing(self):
|
def initializing(self):
|
||||||
if self.state == self.INITIALIZING:
|
if self.state == self.INITIALIZING:
|
||||||
|
|
|
@ -27,7 +27,7 @@ class ReceivingWidget(QTreeWidget):
|
||||||
else:
|
else:
|
||||||
address = str(item.text(0))
|
address = str(item.text(0))
|
||||||
label = unicode( item.text(1) )
|
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):
|
def copy_address(self):
|
||||||
address = self.currentItem().text(0)
|
address = self.currentItem().text(0)
|
||||||
|
@ -74,4 +74,3 @@ class ReceivingWidget(QTreeWidget):
|
||||||
|
|
||||||
self.hide_used = True
|
self.hide_used = True
|
||||||
self.setColumnHidden(2, True)
|
self.setColumnHidden(2, True)
|
||||||
#self.update_list()
|
|
||||||
|
|
Loading…
Reference in New Issue