mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
commit
7521472325
1 changed files with 6 additions and 0 deletions
6
main.qml
6
main.qml
|
@ -251,6 +251,12 @@ ApplicationWindow {
|
|||
|
||||
viewOnly = currentWallet.viewOnly;
|
||||
|
||||
// New wallets saves the testnet flag in keys file.
|
||||
if(persistentSettings.testnet != currentWallet.testnet) {
|
||||
console.log("Using testnet flag from keys file")
|
||||
persistentSettings.testnet = currentWallet.testnet;
|
||||
}
|
||||
|
||||
// connect handlers
|
||||
currentWallet.refreshed.connect(onWalletRefresh)
|
||||
currentWallet.updated.connect(onWalletUpdate)
|
||||
|
|
Loading…
Reference in a new issue