diff --git a/src/main/java/de/bwravencl/controllerbuddy/gui/Main.java b/src/main/java/de/bwravencl/controllerbuddy/gui/Main.java index 2e9a2645..5279c2fb 100644 --- a/src/main/java/de/bwravencl/controllerbuddy/gui/Main.java +++ b/src/main/java/de/bwravencl/controllerbuddy/gui/Main.java @@ -4340,7 +4340,7 @@ public void removeUpdate(final DocumentEvent e) { private void setModeDescription() { final var description = modeDescriptionTextField.getText(); - if (description != null && !description.isEmpty()) { + if (description != null && !description.isEmpty() && !description.equals(mode.getDescription())) { mode.setDescription(description); setUnsavedChanges(true); updateVisualizationPanel();