mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-24 12:46:45 +00:00
fix core wallet field - disabled when connected
This commit is contained in:
parent
b588a4ee02
commit
3a7ffe95e8
1 changed files with 2 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue