summaryrefslogtreecommitdiff
path: root/src/main/java/cuchaz/enigma/gui
diff options
context:
space:
mode:
authorGravatar gegy10002019-01-24 21:28:45 +0200
committerGravatar gegy10002019-01-24 21:28:45 +0200
commit7126e915ca0a027b378d2abab46865fb0a835bcf (patch)
treead76d171d0241d43a50dff24cce437f496dfccdf /src/main/java/cuchaz/enigma/gui
parentFix package name on inner classes (#101) (diff)
downloadenigma-fork-7126e915ca0a027b378d2abab46865fb0a835bcf.tar.gz
enigma-fork-7126e915ca0a027b378d2abab46865fb0a835bcf.tar.xz
enigma-fork-7126e915ca0a027b378d2abab46865fb0a835bcf.zip
Fix navigation to inner classes not decompiling outer class
Diffstat (limited to 'src/main/java/cuchaz/enigma/gui')
-rw-r--r--src/main/java/cuchaz/enigma/gui/GuiController.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/cuchaz/enigma/gui/GuiController.java b/src/main/java/cuchaz/enigma/gui/GuiController.java
index 06cb33e..fd9e7f0 100644
--- a/src/main/java/cuchaz/enigma/gui/GuiController.java
+++ b/src/main/java/cuchaz/enigma/gui/GuiController.java
@@ -332,7 +332,7 @@ public class GuiController {
332 new Thread(() -> 332 new Thread(() ->
333 { 333 {
334 // decompile,deobfuscate the bytecode 334 // decompile,deobfuscate the bytecode
335 CompilationUnit sourceTree = deobfuscator.getSourceTree(classEntry.getFullName()); 335 CompilationUnit sourceTree = deobfuscator.getSourceTree(classEntry.getOutermostClass().getFullName());
336 if (sourceTree == null) { 336 if (sourceTree == null) {
337 // decompilation of this class is not supported 337 // decompilation of this class is not supported
338 gui.setSource("Unable to find class: " + classEntry); 338 gui.setSource("Unable to find class: " + classEntry);