Fixed a fault where the login dialog would show a missleading error message in some cases.
This commit is contained in:
parent
94c8b0dd72
commit
34cfb84159
1 changed files with 2 additions and 0 deletions
|
|
@ -167,6 +167,7 @@ public class CoderClient extends Application{
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public void cancel() {
|
public void cancel() {
|
||||||
|
loginDialog.setErrorMessage("");
|
||||||
selectServerDialog.setServerAddress(null);
|
selectServerDialog.setServerAddress(null);
|
||||||
selectServerDialog.showOnStage(mainStage);
|
selectServerDialog.showOnStage(mainStage);
|
||||||
}
|
}
|
||||||
|
|
@ -309,6 +310,7 @@ public class CoderClient extends Application{
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public void cancel() {
|
public void cancel() {
|
||||||
|
loginDialog.setPassword(null);
|
||||||
selectServerDialog.setServerAddress(null);
|
selectServerDialog.setServerAddress(null);
|
||||||
selectServerDialog.showOnStage(mainStage);
|
selectServerDialog.showOnStage(mainStage);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue