mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 20:20:02 +00:00
Receive: make tracking optional
This commit is contained in:
parent
76a105261e
commit
cd4418dc45
1 changed files with 8 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue