1.1 --- a/src/main/java/de/uapcore/sudoku/DocumentHandler.java Tue Jul 28 14:05:04 2020 +0200 1.2 +++ b/src/main/java/de/uapcore/sudoku/DocumentHandler.java Tue Jul 28 14:27:14 2020 +0200 1.3 @@ -81,6 +81,7 @@ 1.4 1.5 /** 1.6 * Saves the specified field to a file. 1.7 + * On success, the modified state of all cells is set to false. 1.8 * 1.9 * @param field the field to save 1.10 * @throws IOException if saving fails or the file name has not been set before 1.11 @@ -101,6 +102,7 @@ 1.12 } 1.13 } 1.14 } 1.15 + field.setAllCellsModified(false); 1.16 } 1.17 1.18 /**