fix value setting when CardSize radio buttons are selected.

This commit is contained in:
slapshot5
2012-01-07 07:13:04 +00:00
parent f976459395
commit 593e1be7f8

View File

@@ -159,7 +159,7 @@ public class ControlSettings {
/** @param rad0   JRadioButton
* @throws Exception */
public void updateCardSize(JRadioButton rad0) throws Exception {
CardSizeType cst = CardSizeType.valueOf(rad0.getText());
CardSizeType cst = CardSizeType.valueOf(rad0.getText().toLowerCase());
Singletons.getModel().getPreferences().setCardSize(cst);
prefs.save();
}