mirror of https://github.com/rusefi/RomRaider.git
Fixed incorrect icon in table tree
git-svn-id: http://svn.3splooges.com/romraider-arch/trunk@348 d2e2e1cd-ba16-0410-be16-b7c4453c7c2d
This commit is contained in:
parent
1951445a29
commit
b0d3f42656
|
@ -16,6 +16,7 @@ public class TableSwitch extends Table {
|
||||||
public TableSwitch(Settings settings) {
|
public TableSwitch(Settings settings) {
|
||||||
super(settings);
|
super(settings);
|
||||||
storageType = 1;
|
storageType = 1;
|
||||||
|
type = TABLE_SWITCH;
|
||||||
removeAll();
|
removeAll();
|
||||||
setLayout(new BorderLayout());
|
setLayout(new BorderLayout());
|
||||||
}
|
}
|
||||||
|
@ -49,6 +50,10 @@ public class TableSwitch extends Table {
|
||||||
add(checkbox, BorderLayout.NORTH);
|
add(checkbox, BorderLayout.NORTH);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getType() {
|
||||||
|
return TABLE_SWITCH;
|
||||||
|
}
|
||||||
|
|
||||||
public void setDescription(String description) {
|
public void setDescription(String description) {
|
||||||
super.setDescription(description);
|
super.setDescription(description);
|
||||||
JTextArea descriptionArea = new JTextArea(description);
|
JTextArea descriptionArea = new JTextArea(description);
|
||||||
|
|
Loading…
Reference in New Issue