Index: app/src/processing/app/Base.java =================================================================== --- app/src/processing/app/Base.java (revision 5886) +++ app/src/processing/app/Base.java (working copy) @@ -560,7 +560,7 @@ * Replace the sketch in the current window with a new untitled document. */ public void handleNewReplace() { - if (!activeEditor.checkModified(false)) { + if (!activeEditor.checkModified(true)) { return; // sketch was modified, and user canceled } // Close the running window, avoid window boogers with multiple sketches @@ -592,7 +592,7 @@ * @param path Location of the primary pde file for the sketch. */ public void handleOpenReplace(String path) { - if (!activeEditor.checkModified(false)) { + if (!activeEditor.checkModified(true)) { return; // sketch was modified, and user canceled } // Close the running window, avoid window boogers with multiple sketches