Skip to content

Commit

Permalink
update icon
Browse files Browse the repository at this point in the history
  • Loading branch information
icodeface committed Jul 24, 2020
1 parent 3413890 commit 628be96
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Binary file added electrum/gui/icons/qtum.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion electrum/gui/qt/invoice_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def update(self):
icon_name = 'lightning.png'
else:
key = item.id
icon_name = 'bitcoin.png'
icon_name = 'qtum.png'
if item.bip70:
icon_name = 'seal.png'
status = self.parent.wallet.get_invoice_status(item)
Expand Down
2 changes: 1 addition & 1 deletion electrum/gui/qt/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ def on_expiry(i):
self.clear_invoice_button = QPushButton(_('Clear'))
self.clear_invoice_button.clicked.connect(self.clear_receive_tab)
self.create_invoice_button = QPushButton(_('Request'))
self.create_invoice_button.setIcon(read_QIcon("bitcoin.png"))
self.create_invoice_button.setIcon(read_QIcon("qtum.png"))
self.create_invoice_button.setToolTip('Create on-chain request')
self.create_invoice_button.clicked.connect(lambda: self.create_invoice(False))
self.receive_buttons = buttons = QHBoxLayout()
Expand Down
2 changes: 1 addition & 1 deletion electrum/gui/qt/request_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def update(self):
else:
assert isinstance(req, OnchainInvoice)
key = req.get_address()
icon = read_QIcon("bitcoin.png")
icon = read_QIcon("qtum.png")
tooltip = 'onchain request'
items = [QStandardItem(e) for e in labels]
self.set_editability(items)
Expand Down
4 changes: 2 additions & 2 deletions electrum/gui/qt/swap_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ def on_recv_edited(self):

def update(self):
sm = self.swap_manager
self.send_button.setIcon(read_QIcon("lightning.png" if self.is_reverse else "bitcoin.png"))
self.send_button.setIcon(read_QIcon("lightning.png" if self.is_reverse else "qtum.png"))
self.send_button.repaint() # macOS hack for #6269
self.recv_button.setIcon(read_QIcon("lightning.png" if not self.is_reverse else "bitcoin.png"))
self.recv_button.setIcon(read_QIcon("lightning.png" if not self.is_reverse else "qtum.png"))
self.recv_button.repaint() # macOS hack for #6269
self.description_label.setText(self.get_description())
self.description_label.repaint() # macOS hack for #6269
Expand Down

0 comments on commit 628be96

Please sign in to comment.