mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 00:07:51 +00:00
Fix use of persistentSettings.testnet to nettype
This commit is contained in:
parent
7cea134352
commit
6147d81cc5
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ Rectangle {
|
|||
console.log("Settings page loaded");
|
||||
|
||||
if(typeof daemonManager != "undefined"){
|
||||
appWindow.daemonRunning = persistentSettings.useRemoteNode ? false : daemonManager.running(persistentSettings.testnet);
|
||||
appWindow.daemonRunning = persistentSettings.useRemoteNode ? false : daemonManager.running(persistentSettings.nettype);
|
||||
}
|
||||
|
||||
logLevelDropdown.update()
|
||||
|
|
|
@ -287,7 +287,7 @@ Rectangle {
|
|||
if (result) {
|
||||
var parts = result.split("|")
|
||||
if (parts.length == 2) {
|
||||
var address_ok = walletManager.addressValid(parts[1], appWindow.persistentSettings.testnet)
|
||||
var address_ok = walletManager.addressValid(parts[1], appWindow.persistentSettings.nettype)
|
||||
if (parts[0] === "true") {
|
||||
if (address_ok) {
|
||||
addressLine.text = parts[1]
|
||||
|
|
Loading…
Reference in a new issue