Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Commit

Permalink
Move folder explainer to popup for now. The export window is no longe…
Browse files Browse the repository at this point in the history
…r being used for saving serverless projects.
  • Loading branch information
mikehearn committed Dec 4, 2014
1 parent c823a66 commit c816aa4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import lighthouse.model.ProjectModel;
import lighthouse.protocol.LHProtos;
import lighthouse.protocol.Project;
import lighthouse.utils.GuiUtils;
import lighthouse.utils.ValidationLink;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down Expand Up @@ -101,6 +102,8 @@ public void saveClicked(ActionEvent event) {
try {
Project project;
if (!detailsProto.hasPaymentUrl()) {
GuiUtils.informationalAlert("Folder watching",
"The folder to which you save your project file will be watched for pledge files. When you receive them from backers, just put them in the same directory and they should appear.");
// Request directory first then save, so the animations are right.
DirectoryChooser chooser = new DirectoryChooser();
chooser.setTitle("Select a directory to store the project and pledges");
Expand Down
2 changes: 2 additions & 0 deletions client/src/main/java/lighthouse/subwindows/ExportWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
import java.nio.file.Files;
import java.nio.file.Path;

// TODO: The folder explainer here is actually dead code.

public class ExportWindow {
private static final Logger log = LoggerFactory.getLogger(ExportWindow.class);

Expand Down

0 comments on commit c816aa4

Please sign in to comment.