mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 07:23:25 +00:00
tx window: do not always set prompt_if_unsaved
This commit is contained in:
parent
97ffa93fcf
commit
b40f3571e8
2 changed files with 3 additions and 3 deletions
|
@ -2239,7 +2239,7 @@ class ElectrumWindow(QMainWindow):
|
|||
tx = self.tx_from_text(data)
|
||||
if not tx:
|
||||
return
|
||||
self.show_transaction(tx)
|
||||
self.show_transaction(tx, prompt_if_unsaved=True)
|
||||
|
||||
|
||||
def read_tx_from_file(self):
|
||||
|
@ -2261,7 +2261,7 @@ class ElectrumWindow(QMainWindow):
|
|||
return
|
||||
tx = self.tx_from_text(text)
|
||||
if tx:
|
||||
self.show_transaction(tx)
|
||||
self.show_transaction(tx, prompt_if_unsaved=True)
|
||||
|
||||
def do_process_from_file(self):
|
||||
tx = self.read_tx_from_file()
|
||||
|
|
|
@ -143,7 +143,7 @@ class TxDialog(QDialog):
|
|||
def sign(self):
|
||||
def sign_done(success):
|
||||
self.sign_button.setDisabled(False)
|
||||
self.prompt_if_unsaved = True
|
||||
self.prompt_if_unsaved = False
|
||||
self.saved = False
|
||||
self.update()
|
||||
self.sign_button.setDisabled(True)
|
||||
|
|
Loading…
Add table
Reference in a new issue