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