SomberNight
6 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
2 changed files with
4 additions and
6 deletions
-
electrum/gui/kivy/uix/dialogs/tx_dialog.py
-
electrum/gui/qt/history_list.py
|
|
@ -243,9 +243,8 @@ class TxDialog(Factory.Popup): |
|
|
|
to_delete |= self.wallet.get_depending_transactions(txid) |
|
|
|
question = _("Are you sure you want to remove this transaction?") |
|
|
|
if len(to_delete) > 1: |
|
|
|
question = _( |
|
|
|
"Are you sure you want to remove this transaction and {} child transactions?".format(len(to_delete) - 1) |
|
|
|
) |
|
|
|
question = (_("Are you sure you want to remove this transaction and {} child transactions?") |
|
|
|
.format(len(to_delete) - 1)) |
|
|
|
|
|
|
|
def on_prompt(b): |
|
|
|
if b: |
|
|
|
|
|
@ -610,9 +610,8 @@ class HistoryList(MyTreeView, AcceptFileDragDrop): |
|
|
|
to_delete |= self.wallet.get_depending_transactions(delete_tx) |
|
|
|
question = _("Are you sure you want to remove this transaction?") |
|
|
|
if len(to_delete) > 1: |
|
|
|
question = _( |
|
|
|
"Are you sure you want to remove this transaction and {} child transactions?".format(len(to_delete) - 1) |
|
|
|
) |
|
|
|
question = (_("Are you sure you want to remove this transaction and {} child transactions?") |
|
|
|
.format(len(to_delete) - 1)) |
|
|
|
answer = QMessageBox.question(self.parent, _("Please confirm"), question, QMessageBox.Yes, QMessageBox.No) |
|
|
|
if answer == QMessageBox.No: |
|
|
|
return |
|
|
|