move project directory
[jSite2.git] / src / net / pterodactylus / jsite / gui / ProjectPanel.java
index 4b534ea..42ac416 100644 (file)
@@ -37,11 +37,11 @@ import javax.swing.event.DocumentEvent;
 import javax.swing.event.DocumentListener;
 import javax.swing.text.Document;
 
+import net.pterodactylus.jsite.core.project.Project;
 import net.pterodactylus.jsite.i18n.I18n;
 import net.pterodactylus.jsite.i18n.I18nable;
 import net.pterodactylus.jsite.i18n.gui.I18nAction;
 import net.pterodactylus.jsite.i18n.gui.I18nLabel;
-import net.pterodactylus.jsite.project.Project;
 import net.pterodactylus.util.logging.Logging;
 
 /**
@@ -247,7 +247,7 @@ public class ProjectPanel extends JPanel implements DocumentListener, I18nable {
         * physical and virtual files.
         */
        private void editFiles() {
-               FileManager fileManager = new FileManager(swingInterface.getMainWindow(), project);
+               FileManager fileManager = new FileManager(swingInterface, project);
                fileManager.setVisible(true);
        }