From ea18485871c61dd397e7ccfafb96e266240f22bf Mon Sep 17 00:00:00 2001 From: Thiakil Date: Sun, 11 Aug 2019 11:30:49 +0800 Subject: [PATCH] add missing save of panel decompiler if Jadx selected --- src/the/bytecode/club/bytecodeviewer/Settings.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/the/bytecode/club/bytecodeviewer/Settings.java b/src/the/bytecode/club/bytecodeviewer/Settings.java index a44b2667..305d0da9 100644 --- a/src/the/bytecode/club/bytecodeviewer/Settings.java +++ b/src/the/bytecode/club/bytecodeviewer/Settings.java @@ -134,6 +134,8 @@ public class Settings { DiskWriter.writeNewLine(BytecodeViewer.settingsName, "8", false); else if (BytecodeViewer.viewer.panelGroup1.isSelected(BytecodeViewer.viewer.panel1JDGUI.getModel())) DiskWriter.writeNewLine(BytecodeViewer.settingsName, "9", false); + else if (BytecodeViewer.viewer.panelGroup1.isSelected(BytecodeViewer.viewer.jadxJ1.getModel())) + DiskWriter.writeNewLine(BytecodeViewer.settingsName, "10", false); else if (BytecodeViewer.viewer.panelGroup1.isSelected(BytecodeViewer.viewer.asmText1.getModel())) DiskWriter.writeNewLine(BytecodeViewer.settingsName, "11", false); @@ -157,6 +159,8 @@ public class Settings { DiskWriter.writeNewLine(BytecodeViewer.settingsName, "8", false); else if (BytecodeViewer.viewer.panelGroup2.isSelected(BytecodeViewer.viewer.panel2JDGUI.getModel())) DiskWriter.writeNewLine(BytecodeViewer.settingsName, "9", false); + else if (BytecodeViewer.viewer.panelGroup2.isSelected(BytecodeViewer.viewer.jadxJ2.getModel())) + DiskWriter.writeNewLine(BytecodeViewer.settingsName, "10", false); else if (BytecodeViewer.viewer.panelGroup2.isSelected(BytecodeViewer.viewer.asmText2.getModel())) DiskWriter.writeNewLine(BytecodeViewer.settingsName, "11", false); @@ -180,6 +184,8 @@ public class Settings { DiskWriter.writeNewLine(BytecodeViewer.settingsName, "8", false); else if (BytecodeViewer.viewer.panelGroup3.isSelected(BytecodeViewer.viewer.panel3JDGUI.getModel())) DiskWriter.writeNewLine(BytecodeViewer.settingsName, "9", false); + else if (BytecodeViewer.viewer.panelGroup3.isSelected(BytecodeViewer.viewer.jadxJ3.getModel())) + DiskWriter.writeNewLine(BytecodeViewer.settingsName, "10", false); else if (BytecodeViewer.viewer.panelGroup3.isSelected(BytecodeViewer.viewer.asmText3.getModel())) DiskWriter.writeNewLine(BytecodeViewer.settingsName, "11", false);