summaryrefslogtreecommitdiff
path: root/src/main/java/cuchaz/enigma/gui
diff options
context:
space:
mode:
authorGravatar Thog2017-04-05 19:51:25 +0200
committerGravatar Thog2017-04-05 19:51:25 +0200
commit1d513e75cb5ed7c8a3b21f868b6edfd24ce49133 (patch)
tree64ce7b377e77710b36ef285226bf62430889c1d1 /src/main/java/cuchaz/enigma/gui
parentFix tiny mapping separator, and print out stacktrace on error. (diff)
downloadenigma-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')
-rw-r--r--src/main/java/cuchaz/enigma/gui/GuiController.java1
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) {