def add_show_address_on_hw_device_button_for_receive_addr(self, wallet, keystore, main_window):
    plugin = keystore.plugin
    receive_address_e = main_window.receive_address_e

    def show_address():
        addr = receive_address_e.text()
        keystore.thread.add(partial(plugin.show_address, wallet, addr, keystore))
    receive_address_e.addButton('eye1.png', show_address, _('Show on {}').format(plugin.device))
def add_show_address_on_hw_device_button_for_receive_addr(self, wallet, keystore, main_window):
    plugin = keystore.plugin
    receive_address_e = main_window.receive_address_e

    def show_address():
        addr = receive_address_e.text()
        keystore.thread.add(partial(plugin.show_address, wallet, addr, keystore))
    receive_address_e.addButton('eye1.png', show_address, _('Show on {}').format(plugin.device))