parent
0f33989768
commit
467b0c0973
|
@ -23,6 +23,7 @@
|
||||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
|
|
||||||
|
import copy
|
||||||
import datetime
|
import datetime
|
||||||
import json
|
import json
|
||||||
|
|
||||||
|
@ -51,8 +52,12 @@ class TxDialog(QDialog, MessageBoxMixin):
|
||||||
'''Transactions in the wallet will show their description.
|
'''Transactions in the wallet will show their description.
|
||||||
Pass desc to give a description for txs not yet in the wallet.
|
Pass desc to give a description for txs not yet in the wallet.
|
||||||
'''
|
'''
|
||||||
QDialog.__init__(self, parent=None) # Top-level window
|
# We want to be a top-level window
|
||||||
self.tx = tx
|
QDialog.__init__(self, parent=None)
|
||||||
|
# Take a copy; it might get updated in the main window by
|
||||||
|
# e.g. the FX plugin. If this happens during or after a long
|
||||||
|
# sign operation the signatures are lost.
|
||||||
|
self.tx = copy.deepcopy(tx)
|
||||||
self.tx.deserialize()
|
self.tx.deserialize()
|
||||||
self.main_window = parent
|
self.main_window = parent
|
||||||
self.wallet = parent.wallet
|
self.wallet = parent.wallet
|
||||||
|
|
Loading…
Reference in New Issue