mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
settingsnode: fix trusted node flag
This commit is contained in:
parent
e729cd233c
commit
3562ab1444
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (c) 2014-2018, The Monero Project
|
// Copyright (c) 2014-2019, The Monero Project
|
||||||
//
|
//
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
//
|
//
|
||||||
|
@ -301,6 +301,7 @@ Rectangle{
|
||||||
console.log("setting remote node to " + persistentSettings.remoteNodeAddress);
|
console.log("setting remote node to " + persistentSettings.remoteNodeAddress);
|
||||||
if (persistentSettings.is_trusted_daemon) {
|
if (persistentSettings.is_trusted_daemon) {
|
||||||
persistentSettings.is_trusted_daemon = !persistentSettings.is_trusted_daemon
|
persistentSettings.is_trusted_daemon = !persistentSettings.is_trusted_daemon
|
||||||
|
currentWallet.setTrustedDaemon(persistentSettings.is_trusted_daemon)
|
||||||
setTrustedDaemonCheckBox.checked = !setTrustedDaemonCheckBox.checked
|
setTrustedDaemonCheckBox.checked = !setTrustedDaemonCheckBox.checked
|
||||||
appWindow.showStatusMessage(qsTr("Remote node updated. Trusted daemon has been reset. Mark again, if desired."), 8);
|
appWindow.showStatusMessage(qsTr("Remote node updated. Trusted daemon has been reset. Mark again, if desired."), 8);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue