qt send tab: try to make it clearer the sender pays the fee
related: https://github.com/spesmilo/electrum/issues/7488
This commit is contained in:
@@ -136,9 +136,12 @@ class ConfirmTxDialog(TxEditor, WindowModalDialog):
|
||||
self.setLayout(vbox)
|
||||
grid = QGridLayout()
|
||||
vbox.addLayout(grid)
|
||||
|
||||
msg = (_('The amount to be received by the recipient.') + ' '
|
||||
+ _('Fees are paid by the sender.'))
|
||||
self.amount_label = QLabel('')
|
||||
self.amount_label.setTextInteractionFlags(Qt.TextSelectableByMouse)
|
||||
grid.addWidget(QLabel(_("Amount to be sent") + ": "), 0, 0)
|
||||
grid.addWidget(HelpLabel(_("Amount to be sent") + ": ", msg), 0, 0)
|
||||
grid.addWidget(self.amount_label, 0, 1)
|
||||
|
||||
msg = _('Bitcoin transactions are in general not free. A transaction fee is paid by the sender of the funds.') + '\n\n'\
|
||||
|
||||
@@ -1369,10 +1369,11 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
|
||||
self.message_e = SizedFreezableLineEdit(width=700)
|
||||
grid.addWidget(self.message_e, 2, 1, 1, -1)
|
||||
|
||||
msg = _('Amount to be sent.') + '\n\n' \
|
||||
+ _('The amount will be displayed in red if you do not have enough funds in your wallet.') + ' ' \
|
||||
+ _('Note that if you have frozen some of your addresses, the available funds will be lower than your total balance.') + '\n\n' \
|
||||
+ _('Keyboard shortcut: type "!" to send all your coins.')
|
||||
msg = (_('The amount to be received by the recipient.') + ' '
|
||||
+ _('Fees are paid by the sender.') + '\n\n'
|
||||
+ _('The amount will be displayed in red if you do not have enough funds in your wallet.') + ' '
|
||||
+ _('Note that if you have frozen some of your addresses, the available funds will be lower than your total balance.') + '\n\n'
|
||||
+ _('Keyboard shortcut: type "!" to send all your coins.'))
|
||||
amount_label = HelpLabel(_('Amount'), msg)
|
||||
grid.addWidget(amount_label, 3, 0)
|
||||
grid.addWidget(self.amount_e, 3, 1)
|
||||
|
||||
Reference in New Issue
Block a user