fix core wallet field - disabled when connected

This commit is contained in:
Craig Raw 2021-01-28 11:41:28 +02:00
parent b588a4ee02
commit 3a7ffe95e8

View file

@ -252,7 +252,6 @@ public class ServerPreferencesController extends PreferencesDetailController {
}); });
boolean isConnected = AppServices.isConnecting() || AppServices.isConnected(); boolean isConnected = AppServices.isConnecting() || AppServices.isConnected();
setFieldsEditable(!isConnected);
if(AppServices.isConnecting()) { if(AppServices.isConnecting()) {
testResults.appendText("Connecting to server, please wait..."); testResults.appendText("Connecting to server, please wait...");
@ -354,6 +353,8 @@ public class ServerPreferencesController extends PreferencesDetailController {
proxyPort.setText(Integer.toString(server.getPort())); proxyPort.setText(Integer.toString(server.getPort()));
} }
} }
setFieldsEditable(!isConnected);
} }
private void startElectrumConnection() { private void startElectrumConnection() {