diff options
Diffstat (limited to 'src/main/java/cuchaz/enigma/gui/GuiController.java')
| -rw-r--r-- | src/main/java/cuchaz/enigma/gui/GuiController.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/cuchaz/enigma/gui/GuiController.java b/src/main/java/cuchaz/enigma/gui/GuiController.java index 4d428ac..d6c170b 100644 --- a/src/main/java/cuchaz/enigma/gui/GuiController.java +++ b/src/main/java/cuchaz/enigma/gui/GuiController.java | |||
| @@ -84,12 +84,12 @@ public class GuiController { | |||
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | public void saveEnigmaMappings(File file, boolean isDirectoryFormat) throws IOException { | 86 | public void saveEnigmaMappings(File file, boolean isDirectoryFormat) throws IOException { |
| 87 | new MappingsEnigmaWriter().write(file, this.deobfuscator.getMappings(), isDirectoryFormat); | 87 | this.deobfuscator.getMappings().saveEnigmaMappings(file, isDirectoryFormat); |
| 88 | this.isDirty = false; | 88 | this.isDirty = false; |
| 89 | } | 89 | } |
| 90 | 90 | ||
| 91 | public void saveSRGMappings(File file) throws IOException { | 91 | public void saveSRGMappings(File file) throws IOException { |
| 92 | new MappingsSRGWriter().write(file, this.deobfuscator); | 92 | this.deobfuscator.getMappings().saveSRGMappings(file); |
| 93 | this.isDirty = false; | 93 | this.isDirty = false; |
| 94 | } | 94 | } |
| 95 | 95 | ||