diff --git a/main.qml b/main.qml index d7577359..ffbe4e54 100644 --- a/main.qml +++ b/main.qml @@ -2253,7 +2253,7 @@ ApplicationWindow { } function getDefaultDaemonRpcPort(networkType) { - switch (networkType) { + switch (parseInt(networkType)) { case NetworkType.STAGENET: return 38081; case NetworkType.TESTNET: