Skip to content

Commit

Permalink
Fix exception caused when game settings tab doesn't have component name.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertBColton committed Nov 28, 2014
1 parent 85413c2 commit f949a2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions org/lateralgm/subframes/GameSettingFrame.java
Expand Up @@ -884,6 +884,7 @@ public void actionPerformed(ActionEvent e)
break;
}
}
if (name == null) return;
if (name.endsWith(".TAB_GRAPHICS")) {
if (e.getSource() instanceof JRadioButton) scale.setEnabled(scaling.getValue() > 0);
} else if (name.endsWith(".TAB_RESOLUTION")) {
Expand Down

0 comments on commit f949a2a

Please sign in to comment.