Q: Who likes to break the build? A: Who doesn't.

This commit is contained in:
Ben Fry
2015-08-05 12:05:35 -04:00
parent 8bfc3d807e
commit 20b5ffa344

View File

@@ -353,7 +353,13 @@ public class JavaEditor extends Editor {
item = new JMenuItem("Welcome to Processing 3");
item.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
new Welcome(base, Preferences.getSketchbookPath().equals(Preferences.getOldSketchbookPath()));
try {
new Welcome(base, Preferences.getSketchbookPath().equals(Preferences.getOldSketchbookPath()));
} catch (IOException ioe) {
Base.showWarning("Unwelcome Error",
"Please report this error to\n" +
"https://github.com/processing/processing/issues", ioe);
}
}
});
menu.add(item);