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) {
|
||||
super(settings);
|
||||
storageType = 1;
|
||||
type = TABLE_SWITCH;
|
||||
removeAll();
|
||||
setLayout(new BorderLayout());
|
||||
}
|
||||
|
@ -48,6 +49,10 @@ public class TableSwitch extends Table {
|
|||
|
||||
add(checkbox, BorderLayout.NORTH);
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return TABLE_SWITCH;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
super.setDescription(description);
|
||||
|
|
Loading…
Reference in New Issue