Skip to content

Commit

Permalink
fix annotationEditor isOpen check
Browse files Browse the repository at this point in the history
  • Loading branch information
apkreader committed Jan 12, 2024
1 parent 9f948ca commit e1d94a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/me/grax/jbytemod/ui/JAnnotationEditor.java
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ public void windowClosing(WindowEvent e) {
} catch (Exception e1) {
new ErrorDisplay(e1);
}
open.remove(field);
open.remove(JAnnotationEditor.this);
}
});
} catch (Throwable e1) {
open.remove(field);
open.remove(JAnnotationEditor.this);
new ErrorDisplay(e1);
setVisible(false);
}
Expand Down

0 comments on commit e1d94a4

Please sign in to comment.