1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-29 09:05:11 +01:00

use testnet bool from wallet2

This commit is contained in:
Jaquee 2017-07-31 15:11:01 +02:00
parent c68c317776
commit 7f4fec7777

View File

@ -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)