diff --git a/src/main/java/net/nikr/eve/jeveasset/gui/dialogs/settings/SettingsDialog.java b/src/main/java/net/nikr/eve/jeveasset/gui/dialogs/settings/SettingsDialog.java index 02a568d8c..584410c35 100644 --- a/src/main/java/net/nikr/eve/jeveasset/gui/dialogs/settings/SettingsDialog.java +++ b/src/main/java/net/nikr/eve/jeveasset/gui/dialogs/settings/SettingsDialog.java @@ -56,10 +56,14 @@ import net.nikr.eve.jeveasset.i18n.GuiShared; import net.nikr.eve.jeveasset.io.shared.DesktopUtil; import net.nikr.eve.jeveasset.io.shared.DesktopUtil.HelpLink; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; public class SettingsDialog extends JDialogCentered { + private static final Logger LOG = LoggerFactory.getLogger(SettingsDialog.class); + private enum SettingsDialogAction { OK, CANCEL, APPLY, HELP } @@ -288,7 +292,11 @@ private void save(boolean hideWindow) { Set updates = new HashSet<>(); Settings.lock("Settings Dialog"); //Lock for Settings Dialog for (Map.Entry entry : settingsPanels.entrySet()) { - updates.add(entry.getValue().save()); + UpdateType save = entry.getValue().save(); + if (save != UpdateType.NONE) { + LOG.info(entry.getKey() + " returned " + save.name()); + } + updates.add(save); } Settings.unlock("Settings Dialog"); //Unlock for Settings Dialog if (hideWindow) {