Browse Source

show address on hw: change icon

3.2.x
SomberNight 7 years ago
parent
commit
78745f1f02
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 1
      icons.qrc
  2. BIN
      icons/eye1.png
  3. 3
      plugins/hw_wallet/qt.py

1
icons.qrc

@ -14,6 +14,7 @@
<file>icons/electrum_light_icon.png</file> <file>icons/electrum_light_icon.png</file>
<file>icons/electrum_dark_icon.png</file> <file>icons/electrum_dark_icon.png</file>
<file>icons/electrumb.png</file> <file>icons/electrumb.png</file>
<file>icons/eye1.png</file>
<file>icons/file.png</file> <file>icons/file.png</file>
<file>icons/info.png</file> <file>icons/info.png</file>
<file>icons/keepkey.png</file> <file>icons/keepkey.png</file>

BIN
icons/eye1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

3
plugins/hw_wallet/qt.py

@ -227,5 +227,4 @@ class QtPluginBase(object):
def show_address(): def show_address():
addr = receive_address_e.text() addr = receive_address_e.text()
keystore.thread.add(partial(plugin.show_address, wallet, addr, keystore)) keystore.thread.add(partial(plugin.show_address, wallet, addr, keystore))
# TODO icon receive_address_e.addButton(":icons/eye1.png", show_address, _("Show on {}").format(plugin.device))
receive_address_e.addButton(":icons/tab_console.png", show_address, _("Show on {}").format(plugin.device))

Loading…
Cancel
Save