From 59a40b18c76d91725be4c9c365f16866849ac149 Mon Sep 17 00:00:00 2001 From: nick-botticelli Date: Sat, 28 May 2022 04:17:35 -0700 Subject: [PATCH] Undo accidental change for debugging --- .../gui/resourceviewer/DecompilerSelectionPane.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/DecompilerSelectionPane.java b/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/DecompilerSelectionPane.java index afa1bb6f..ffeeaec6 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/DecompilerSelectionPane.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/DecompilerSelectionPane.java @@ -164,9 +164,7 @@ public class DecompilerSelectionPane public Decompiler getSelectedDecompiler() { - javax.swing.ButtonModel selection = group.getSelection(); - String actionCommand = selection.getActionCommand(); - return Decompiler.valueOf(actionCommand); + return Decompiler.valueOf(group.getSelection().getActionCommand()); } public void setSelectedDecompiler(Decompiler decompiler)