tMerge pull request #6698 from SomberNight/202010_qt_pay_ellipsis_dotdotdot - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 70b03cb92007743ffbe02399284075aa43a77b08 DIR parent c31ae86bb857c27aea3ab615b649dd17b392179e HTML Author: ThomasV <thomasv@electrum.org> Date: Thu, 29 Oct 2020 10:58:20 +0100 Merge pull request #6698 from SomberNight/202010_qt_pay_ellipsis_dotdotdot qt gui: send tab: change "Pay" button text to "Pay..." Diffstat: M electrum/gui/qt/invoice_list.py | 4 ++-- M electrum/gui/qt/main_window.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/electrum/gui/qt/invoice_list.py b/electrum/gui/qt/invoice_list.py t@@ -142,7 +142,7 @@ class InvoiceList(MyTreeView): can_batch_pay = all([i.type == PR_TYPE_ONCHAIN and wallet.get_invoice_status(i) == PR_UNPAID for i in invoices]) menu = QMenu(self) if can_batch_pay: - menu.addAction(_("Batch pay invoices"), lambda: self.parent.pay_multiple_invoices(invoices)) + menu.addAction(_("Batch pay invoices") + "...", lambda: self.parent.pay_multiple_invoices(invoices)) menu.addAction(_("Delete invoices"), lambda: self.parent.delete_invoices(keys)) menu.exec_(self.viewport().mapToGlobal(position)) return t@@ -163,7 +163,7 @@ class InvoiceList(MyTreeView): menu.addAction(_("Details"), lambda: self.parent.show_onchain_invoice(invoice)) status = wallet.get_invoice_status(invoice) if status == PR_UNPAID: - menu.addAction(_("Pay"), lambda: self.parent.do_pay_invoice(invoice)) + menu.addAction(_("Pay") + "...", lambda: self.parent.do_pay_invoice(invoice)) if status == PR_FAILED: menu.addAction(_("Retry"), lambda: self.parent.do_pay_invoice(invoice)) if self.parent.wallet.lnworker: DIR diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py t@@ -1370,7 +1370,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger): grid.addWidget(self.max_button, 3, 3) self.save_button = EnterButton(_("Save"), self.do_save_invoice) - self.send_button = EnterButton(_("Pay"), self.do_pay) + self.send_button = EnterButton(_("Pay") + "...", self.do_pay) self.clear_button = EnterButton(_("Clear"), self.do_clear) buttons = QHBoxLayout()