Receive: make tracking optional

This commit is contained in:
stoffu 2018-04-07 14:09:28 +09:00
parent 76a105261e
commit cd4418dc45
No known key found for this signature in database
GPG key ID: 41DAB8343A9EC012

View file

@ -72,7 +72,7 @@ Rectangle {
} }
function update() { function update() {
if (!appWindow.currentWallet) { if (!appWindow.currentWallet || !trackingEnabled.checked) {
setTrackingLineText("-") setTrackingLineText("-")
return return
} }
@ -325,6 +325,11 @@ Rectangle {
} }
} }
CheckBox {
id: trackingEnabled
text: qsTr("Enable") + translationManager.emptyString
}
TextEdit { TextEdit {
id: trackingLine id: trackingLine
readOnly: true readOnly: true
@ -407,6 +412,8 @@ Rectangle {
update() update()
timer.running = true timer.running = true
trackingEnabled.checked = false
} }
function onPageClosed() { function onPageClosed() {