Skip to content

Commit

Permalink
Merge pull request #6094 from WeaverThree/wvr-fix-plantaryconditions
Browse files Browse the repository at this point in the history
Makes PlanetaryConditionsDialog work again after scaling stuff
  • Loading branch information
HammerGS authored Oct 13, 2024
2 parents d6f4bae + 30c4398 commit e37b312
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ private void setupDialog() {
getRootPane().getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(escape, closeAction);
getRootPane().getInputMap(JComponent.WHEN_FOCUSED).put(escape, closeAction);
getRootPane().getActionMap().put(closeAction, new CloseAction(this));

pack();
center();
}

private JPanel headerSection() {
Expand Down

0 comments on commit e37b312

Please sign in to comment.