From 7126e915ca0a027b378d2abab46865fb0a835bcf Mon Sep 17 00:00:00 2001 From: gegy1000 Date: Thu, 24 Jan 2019 21:28:45 +0200 Subject: Fix navigation to inner classes not decompiling outer class --- src/main/java/cuchaz/enigma/gui/GuiController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/cuchaz/enigma/gui/GuiController.java') 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 { new Thread(() -> { // decompile,deobfuscate the bytecode - CompilationUnit sourceTree = deobfuscator.getSourceTree(classEntry.getFullName()); + CompilationUnit sourceTree = deobfuscator.getSourceTree(classEntry.getOutermostClass().getFullName()); if (sourceTree == null) { // decompilation of this class is not supported gui.setSource("Unable to find class: " + classEntry); -- cgit v1.2.3