mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
fix value setting when CardSize radio buttons are selected.
This commit is contained in:
@@ -159,7 +159,7 @@ public class ControlSettings {
|
|||||||
/** @param rad0   JRadioButton
|
/** @param rad0   JRadioButton
|
||||||
* @throws Exception */
|
* @throws Exception */
|
||||||
public void updateCardSize(JRadioButton rad0) 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);
|
Singletons.getModel().getPreferences().setCardSize(cst);
|
||||||
prefs.save();
|
prefs.save();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user