* Deck editor sort setting - fixed a bug where setting wrong data type leads to java exception.

This commit is contained in:
LevelX2 2014-02-17 22:36:17 +01:00
parent 4e5de2b7f9
commit e44abc5244
2 changed files with 2 additions and 2 deletions

View file

@ -43,6 +43,6 @@ public class SortSettingDraft extends SortSetting {
}
private SortSettingDraft() {
super(PreferencesDialog.KEY_DRAFT_SORT_BY, PreferencesDialog.KEY_DRAFT_SORT_INDEX,PreferencesDialog.KEY_DRAFT_SORT_INDEX, PreferencesDialog.KEY_DRAFT_PILES_TOGGLE );
super(PreferencesDialog.KEY_DRAFT_SORT_BY, PreferencesDialog.KEY_DRAFT_SORT_INDEX, PreferencesDialog.KEY_DRAFT_SORT_ASCENDING, PreferencesDialog.KEY_DRAFT_PILES_TOGGLE );
}
}

View file

@ -43,6 +43,6 @@ public class SortSettingSideboard extends SortSetting {
}
private SortSettingSideboard() {
super(PreferencesDialog.KEY_SIDEBOARD_SORT_BY, PreferencesDialog.KEY_SIDEBOARD_SORT_INDEX, PreferencesDialog.KEY_SIDEBOARD_SORT_INDEX, PreferencesDialog.KEY_SIDEBOARD_PILES_TOGGLE);
super(PreferencesDialog.KEY_SIDEBOARD_SORT_BY, PreferencesDialog.KEY_SIDEBOARD_SORT_INDEX, PreferencesDialog.KEY_SIDEBOARD_SORT_ASCENDING, PreferencesDialog.KEY_SIDEBOARD_PILES_TOGGLE);
}
}