mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +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() {
|
||||
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() {
|
||||
|
|
Loading…
Reference in a new issue