Browse Source

qt: also use BlockWaitingDialog in PreviewTxDialog

as when 'advanced_preview' is set, ConfirmTxDialog is skipped

follow-up 1088cf4444
hard-fail-on-bad-server-string
SomberNight 5 years ago
parent
commit
3a2fe80675
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 5
      electrum/gui/qt/transaction_dialog.py

5
electrum/gui/qt/transaction_dialog.py

@ -50,7 +50,8 @@ from electrum.logging import get_logger
from .util import (MessageBoxMixin, read_QIcon, Buttons, icon_path,
MONOSPACE_FONT, ColorScheme, ButtonsLineEdit, text_dialog,
char_width_in_lineedit, TRANSACTION_FILE_EXTENSION_FILTER)
char_width_in_lineedit, TRANSACTION_FILE_EXTENSION_FILTER,
BlockingWaitingDialog)
from .fee_slider import FeeSlider
from .confirm_tx_dialog import TxEditor
@ -606,7 +607,7 @@ class PreviewTxDialog(BaseTxDialog, TxEditor):
TxEditor.__init__(self, window=window, make_tx=make_tx, is_sweep=bool(external_keypairs))
BaseTxDialog.__init__(self, parent=window, desc='', prompt_if_unsaved=False,
finalized=False, external_keypairs=external_keypairs)
self.update_tx()
BlockingWaitingDialog(window, _("Preparing transaction..."), self.update_tx)
self.update()
def create_fee_controls(self):

Loading…
Cancel
Save