1
0

qt: consistently show tooltip when copying to clipboard

This commit is contained in:
SomberNight
2019-11-21 03:01:55 +01:00
parent 9fe7917118
commit 1526bc9ccf
7 changed files with 23 additions and 15 deletions

View File

@@ -261,7 +261,7 @@ class BaseTxDialog(QDialog, MessageBoxMixin):
def copy_to_clipboard(self, *, tx: Transaction = None):
if tx is None:
tx = self.tx
self.main_window.app.clipboard().setText(str(tx))
self.main_window.do_copy(str(tx), title=_("Transaction"))
def show_qr(self, *, tx: Transaction = None):
if tx is None: