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, 3 insertions, 1 deletions
diff --git a/src/main/java/cuchaz/enigma/gui/GuiController.java b/src/main/java/cuchaz/enigma/gui/GuiController.java index 37244ff..c301594 100644 --- a/src/main/java/cuchaz/enigma/gui/GuiController.java +++ b/src/main/java/cuchaz/enigma/gui/GuiController.java | |||
| @@ -27,6 +27,8 @@ import cuchaz.enigma.Deobfuscator; | |||
| 27 | import cuchaz.enigma.analysis.*; | 27 | import cuchaz.enigma.analysis.*; |
| 28 | import cuchaz.enigma.gui.dialog.ProgressDialog; | 28 | import cuchaz.enigma.gui.dialog.ProgressDialog; |
| 29 | import cuchaz.enigma.mapping.*; | 29 | import cuchaz.enigma.mapping.*; |
| 30 | import cuchaz.enigma.throwables.MappingParseException; | ||
| 31 | import cuchaz.enigma.utils.ReadableToken; | ||
| 30 | 32 | ||
| 31 | public class GuiController { | 33 | public class GuiController { |
| 32 | 34 | ||
| @@ -72,7 +74,7 @@ public class GuiController { | |||
| 72 | refreshCurrentClass(); | 74 | refreshCurrentClass(); |
| 73 | } | 75 | } |
| 74 | 76 | ||
| 75 | public void openMappings(File file) throws IOException, MappingParseException { | 77 | public void openMappings(File file) throws IOException { |
| 76 | this.deobfuscator.setMappings(new MappingsReader().read(file)); | 78 | this.deobfuscator.setMappings(new MappingsReader().read(file)); |
| 77 | this.isDirty = false; | 79 | this.isDirty = false; |
| 78 | this.gui.setMappingsFile(file); | 80 | this.gui.setMappingsFile(file); |