mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 11:52:05 +02:00
Fix use of persistentSettings.testnet to nettype
This commit is contained in:
parent
7cea134352
commit
6147d81cc5
@ -51,7 +51,7 @@ Rectangle {
|
|||||||
console.log("Settings page loaded");
|
console.log("Settings page loaded");
|
||||||
|
|
||||||
if(typeof daemonManager != "undefined"){
|
if(typeof daemonManager != "undefined"){
|
||||||
appWindow.daemonRunning = persistentSettings.useRemoteNode ? false : daemonManager.running(persistentSettings.testnet);
|
appWindow.daemonRunning = persistentSettings.useRemoteNode ? false : daemonManager.running(persistentSettings.nettype);
|
||||||
}
|
}
|
||||||
|
|
||||||
logLevelDropdown.update()
|
logLevelDropdown.update()
|
||||||
|
@ -287,7 +287,7 @@ Rectangle {
|
|||||||
if (result) {
|
if (result) {
|
||||||
var parts = result.split("|")
|
var parts = result.split("|")
|
||||||
if (parts.length == 2) {
|
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 (parts[0] === "true") {
|
||||||
if (address_ok) {
|
if (address_ok) {
|
||||||
addressLine.text = parts[1]
|
addressLine.text = parts[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user