Fixed a problem with images of transformed cards. Workaround for images of basic lands. Does not work correctly yet, because card art od basic lands is switched between various versions continuously.

This commit is contained in:
LevelX2 2016-10-09 03:07:23 +02:00
parent e46895420e
commit 67cf1604c9
4 changed files with 56 additions and 22 deletions

View file

@ -87,7 +87,7 @@ public class TableModel extends AbstractTableModel implements ICardGrid {
private boolean displayNoCopies = false;
private UpdateCountsCallback updateCountsCallback;
private final String column[] = {"Qty", "Name", "Cost", "Color", "Type", "Stats", "Rarity", "Set"};
private final String column[] = {"Qty", "Name", "Cost", "Color", "Type", "Stats", "Rarity", "Set", "#"};
private SortSetting sortSetting;
private int recentSortedColumn;
@ -271,6 +271,8 @@ public class TableModel extends AbstractTableModel implements ICardGrid {
return c.getRarity().toString();
case 7:
return c.getExpansionSetCode();
case 8:
return c.getCardNumber();
default:
return "error";
}