Add project manager as property change listener when loading projects.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 23 May 2009 13:16:42 +0000 (15:16 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 23 May 2009 13:16:42 +0000 (15:16 +0200)
src/net/pterodactylus/jsite/core/ProjectManager.java

index c44581a..dd124fb 100644 (file)
@@ -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++;