From 3a7ffe95e8cc2643fc984355a9bc6df8fa3a9d08 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Thu, 28 Jan 2021 11:41:28 +0200 Subject: [PATCH] fix core wallet field - disabled when connected --- .../sparrow/preferences/ServerPreferencesController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/preferences/ServerPreferencesController.java b/src/main/java/com/sparrowwallet/sparrow/preferences/ServerPreferencesController.java index 2bd0863a..3104f664 100644 --- a/src/main/java/com/sparrowwallet/sparrow/preferences/ServerPreferencesController.java +++ b/src/main/java/com/sparrowwallet/sparrow/preferences/ServerPreferencesController.java @@ -252,7 +252,6 @@ public class ServerPreferencesController extends PreferencesDetailController { }); boolean isConnected = AppServices.isConnecting() || AppServices.isConnected(); - setFieldsEditable(!isConnected); if(AppServices.isConnecting()) { testResults.appendText("Connecting to server, please wait..."); @@ -354,6 +353,8 @@ public class ServerPreferencesController extends PreferencesDetailController { proxyPort.setText(Integer.toString(server.getPort())); } } + + setFieldsEditable(!isConnected); } private void startElectrumConnection() {