From: David ‘Bombe’ Roden Date: Sat, 23 May 2009 13:16:42 +0000 (+0200) Subject: Add project manager as property change listener when loading projects. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=09fa8f788bc17540c5ee8910f927616da59ef44e;p=jSite2.git Add project manager as property change listener when loading projects. --- diff --git a/src/net/pterodactylus/jsite/core/ProjectManager.java b/src/net/pterodactylus/jsite/core/ProjectManager.java index c44581a..dd124fb 100644 --- a/src/net/pterodactylus/jsite/core/ProjectManager.java +++ b/src/net/pterodactylus/jsite/core/ProjectManager.java @@ -159,6 +159,7 @@ public class ProjectManager implements PropertyChangeListener { logger.log(Level.FINEST, "read override: " + filePath + ", " + override); overrideIndex++; } + project.addPropertyChangeListener(this); projects.add(project); logger.fine("loaded project “" + project.getName() + "”."); projectIndex++;