mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-28 18:56:32 +02:00
Merge pull request #3817
d752117
WizardHome: restore binding of networkTypeDropdown.currentIndex when selecting an item; display networkTypeDropdown if stagenet or testnet is selected (rating89us)
This commit is contained in:
commit
78e3b947d1
@ -212,6 +212,7 @@ Rectangle {
|
|||||||
persistentSettings.nettype = NetworkType.TESTNET
|
persistentSettings.nettype = NetworkType.TESTNET
|
||||||
}
|
}
|
||||||
appWindow.disconnectRemoteNode()
|
appWindow.disconnectRemoteNode()
|
||||||
|
networkTypeDropdown.currentIndex = Qt.binding(function() { return persistentSettings.nettype });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -251,5 +252,8 @@ Rectangle {
|
|||||||
|
|
||||||
function onPageCompleted(){
|
function onPageCompleted(){
|
||||||
wizardController.walletOptionsIsRecoveringFromDevice = false;
|
wizardController.walletOptionsIsRecoveringFromDevice = false;
|
||||||
|
if (networkTypeDropdown.currentIndex != 0) {
|
||||||
|
showAdvancedCheckbox.checked = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user