kivy: confirm_tx_dialog: toggling "final" should update the tx

We create a tx when the dialog is created, and re-create it every time
the user moves the fee slider. However, we were not re-creating it if
the user toggles the "Final" checkbox, meaning its value was only taken
into account if the user moved the fee slider after setting the checkbox.

fixes https://github.com/spesmilo/electrum/issues/7547
This commit is contained in:
SomberNight
2021-10-29 14:27:13 +02:00
parent 5787f3ab74
commit 99836d5e5f

View File

@@ -93,6 +93,7 @@ Builder.load_string('''
id: final_cb
opacity: int(root.show_final)
disabled: not root.show_final
on_release: root.update_tx()
Label:
text: root.warning
text_size: self.width, None