mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
revert txdialog to QDialog
This commit is contained in:
parent
e2c19ff871
commit
383f8924d7
1 changed files with 2 additions and 4 deletions
|
@ -38,7 +38,7 @@ def show_transaction(tx, parent, desc=None, prompt_if_unsaved=False):
|
||||||
dialogs.append(d)
|
dialogs.append(d)
|
||||||
d.show()
|
d.show()
|
||||||
|
|
||||||
class TxDialog(QWidget):
|
class TxDialog(QDialog):
|
||||||
|
|
||||||
def __init__(self, tx, parent, desc, prompt_if_unsaved):
|
def __init__(self, tx, parent, desc, prompt_if_unsaved):
|
||||||
'''Transactions in the wallet will show their description.
|
'''Transactions in the wallet will show their description.
|
||||||
|
@ -53,7 +53,7 @@ class TxDialog(QWidget):
|
||||||
self.broadcast = False
|
self.broadcast = False
|
||||||
self.desc = desc
|
self.desc = desc
|
||||||
|
|
||||||
QWidget.__init__(self)
|
QDialog.__init__(self)
|
||||||
self.setMinimumWidth(600)
|
self.setMinimumWidth(600)
|
||||||
self.setWindowTitle(_("Transaction"))
|
self.setWindowTitle(_("Transaction"))
|
||||||
|
|
||||||
|
@ -227,8 +227,6 @@ class TxDialog(QWidget):
|
||||||
self.amount_label.setText(_("Transaction unrelated to your wallet"))
|
self.amount_label.setText(_("Transaction unrelated to your wallet"))
|
||||||
|
|
||||||
run_hook('transaction_dialog_update', self)
|
run_hook('transaction_dialog_update', self)
|
||||||
self.raise_()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def add_io(self, vbox):
|
def add_io(self, vbox):
|
||||||
|
|
Loading…
Add table
Reference in a new issue