修复添加验证服务器页面的错误信息不会被清除

This commit is contained in:
yushijinhun
2018-06-16 23:09:16 +08:00
parent 4cdc54b9c1
commit 89b68781fa

View File

@@ -76,6 +76,8 @@ public class AuthlibInjectorServersPage extends StackPane implements DecoratorPa
private void onAdd() {
transitionHandler.setContent(addServerPane, ContainerAnimations.NONE.getAnimationProducer());
txtServerUrl.setText("");
txtServerUrl.resetValidation();
lblCreationWarning.setText("");
addServerPane.setDisable(false);
progressBar.setVisible(false);
dialog.show();