mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 21:42:07 -08:00
Some minor changes.
This commit is contained in:
parent
6df19bd718
commit
24470a4abf
3 changed files with 8 additions and 6 deletions
|
|
@ -825,8 +825,11 @@ public class DragCardGrid extends JPanel implements DragCardSource, DragCardTarg
|
|||
|
||||
// Load separate creatures setting
|
||||
separateCreatures = PreferencesDialog.getCachedValue(PreferencesDialog.KEY_DECK_EDITOR_LAST_SEPARATE_CREATURES, "false").equals("true");
|
||||
cardSort = Sort.valueOf(PreferencesDialog.getCachedValue(PreferencesDialog.KEY_DECK_EDITOR_LAST_SORT, Sort.NONE.toString()));
|
||||
|
||||
try {
|
||||
cardSort = Sort.valueOf(PreferencesDialog.getCachedValue(PreferencesDialog.KEY_DECK_EDITOR_LAST_SORT, Sort.NONE.toString()));
|
||||
} catch (IllegalArgumentException ex) {
|
||||
cardSort = Sort.NONE;
|
||||
}
|
||||
// Sort popup
|
||||
{
|
||||
sortPopup = new JPopupMenu();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue