1
0

qt/main_window: fix regression in confirm_tx_dialog

follow-up 605b511b43
This commit is contained in:
SomberNight
2025-03-11 15:22:14 +00:00
parent 75d800a4ea
commit 163f59f83f

View File

@@ -1417,7 +1417,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger, QtEventListener):
# note: use confirmed_only=False here, regardless of config setting,
# as the user needs to get to ConfirmTxDialog to change the config setting
if not d.can_pay_assuming_zero_fees(confirmed_only=False):
text = self.send_tab.get_text_not_enough_funds_mentioning_frozen()
text = self.wallet.get_text_not_enough_funds_mentioning_frozen()
self.show_message(text)
return
return d.run(), d.is_preview