From 05c39ee219eba5443d04715a8110c9892b169543 Mon Sep 17 00:00:00 2001 From: Gheorghe Soimu Date: Wed, 5 Jun 2024 12:54:12 +0300 Subject: [PATCH] fixed an issue --- .../web/client/hierarchy/parents/EditParentsViewImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webprotege-gwt-ui-client/src/main/java/edu/stanford/bmir/protege/web/client/hierarchy/parents/EditParentsViewImpl.java b/webprotege-gwt-ui-client/src/main/java/edu/stanford/bmir/protege/web/client/hierarchy/parents/EditParentsViewImpl.java index 33eeecb30..a220e1cb9 100644 --- a/webprotege-gwt-ui-client/src/main/java/edu/stanford/bmir/protege/web/client/hierarchy/parents/EditParentsViewImpl.java +++ b/webprotege-gwt-ui-client/src/main/java/edu/stanford/bmir/protege/web/client/hierarchy/parents/EditParentsViewImpl.java @@ -112,6 +112,7 @@ public void clear() { textBox.setText(""); reasonForChangeTextBox.setText(""); clearErrors(); + clearClassesWithCycle(); } @Nonnull @@ -132,8 +133,8 @@ public void clearClassesWithCycle() { @Override public void markClassesWithCycles(Set classesWithCycles) { - classesWithCyclesWarningField.setVisible(true); String classes = classesWithCycles.stream().map(OWLEntityData::getBrowserText).collect(Collectors.joining(", ")); classesWithCyclesWarningField.setHTML(messages.classHierarchy_cyclesHaveBeenCreated(classes)); + classesWithCyclesWarningField.setVisible(true); } }