diff options
| author | 2017-04-05 19:51:25 +0200 | |
|---|---|---|
| committer | 2017-04-05 19:51:25 +0200 | |
| commit | 1d513e75cb5ed7c8a3b21f868b6edfd24ce49133 (patch) | |
| tree | 64ce7b377e77710b36ef285226bf62430889c1d1 /src/main/java/cuchaz/enigma/gui/GuiController.java | |
| parent | Fix tiny mapping separator, and print out stacktrace on error. (diff) | |
| download | enigma-fork-1d513e75cb5ed7c8a3b21f868b6edfd24ce49133.tar.gz enigma-fork-1d513e75cb5ed7c8a3b21f868b6edfd24ce49133.tar.xz enigma-fork-1d513e75cb5ed7c8a3b21f868b6edfd24ce49133.zip | |
Avoid crash using rebuild method names + make sure that the mapping is dirty if rebuildMethodNames is called (Fix #56)
Diffstat (limited to 'src/main/java/cuchaz/enigma/gui/GuiController.java')
| -rw-r--r-- | src/main/java/cuchaz/enigma/gui/GuiController.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/cuchaz/enigma/gui/GuiController.java b/src/main/java/cuchaz/enigma/gui/GuiController.java index c3cdbf8..6d98743 100644 --- a/src/main/java/cuchaz/enigma/gui/GuiController.java +++ b/src/main/java/cuchaz/enigma/gui/GuiController.java | |||
| @@ -111,6 +111,7 @@ public class GuiController { | |||
| 111 | 111 | ||
| 112 | public void rebuildMethodNames() { | 112 | public void rebuildMethodNames() { |
| 113 | ProgressDialog.runInThread(this.gui.getFrame(), progress -> this.deobfuscator.rebuildMethodNames(progress)); | 113 | ProgressDialog.runInThread(this.gui.getFrame(), progress -> this.deobfuscator.rebuildMethodNames(progress)); |
| 114 | this.isDirty = true; | ||
| 114 | } | 115 | } |
| 115 | 116 | ||
| 116 | public void exportSource(final File dirOut) { | 117 | public void exportSource(final File dirOut) { |