diff options
Diffstat (limited to 'src/main/java/cuchaz/enigma/gui/GuiController.java')
| -rw-r--r-- | src/main/java/cuchaz/enigma/gui/GuiController.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/cuchaz/enigma/gui/GuiController.java b/src/main/java/cuchaz/enigma/gui/GuiController.java index a55d2cd..4410bf3 100644 --- a/src/main/java/cuchaz/enigma/gui/GuiController.java +++ b/src/main/java/cuchaz/enigma/gui/GuiController.java | |||
| @@ -160,6 +160,12 @@ public class GuiController { | |||
| 160 | refreshCurrentClass(); | 160 | refreshCurrentClass(); |
| 161 | } | 161 | } |
| 162 | 162 | ||
| 163 | public void dropMappings() { | ||
| 164 | if (project == null) return; | ||
| 165 | |||
| 166 | ProgressDialog.runOffThread(this.gui.getFrame(), progress -> project.dropMappings(progress)); | ||
| 167 | } | ||
| 168 | |||
| 163 | public void exportSource(final Path path) { | 169 | public void exportSource(final Path path) { |
| 164 | if (project == null) return; | 170 | if (project == null) return; |
| 165 | 171 | ||