Skip to content

Commit

Permalink
General Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Konloch committed Aug 21, 2024
1 parent 761ef12 commit 65d11ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ public class ClassViewer extends ResourceViewer
public BytecodeViewPanel bytecodeViewPanel1 = new BytecodeViewPanel(0, this);
public BytecodeViewPanel bytecodeViewPanel2 = new BytecodeViewPanel(1, this);
public BytecodeViewPanel bytecodeViewPanel3 = new BytecodeViewPanel(2, this);

public List<MethodParser> methods = Arrays.asList(new MethodParser(), new MethodParser(), new MethodParser());

public ClassViewer(ResourceContainer container, String name)
Expand Down Expand Up @@ -146,6 +145,7 @@ public void refresh(JButton button)
return;

Configuration.warnForEditing = true;

if (!BytecodeViewer.viewer.autoCompileOnRefresh.isSelected() && !BytecodeViewer.viewer.compileOnSave.isSelected())
{
BytecodeViewer.showMessage("Make sure to compile (File>Compile or Ctrl + T) whenever you want to " + "test or export your changes.\nYou can set compile automatically on refresh or on save " + "in the settings menu.");
Expand Down

0 comments on commit 65d11ab

Please sign in to comment.