Add enabler to ColourComboBox

This commit is contained in:
douggillespie 2022-01-15 18:12:13 +00:00
parent 3d26fce9d1
commit 31eb174146

View File

@ -98,7 +98,13 @@ public class ColourComboBox extends PamPanel {
}
}
public ColourArrayType getSelectedColourMap(){
@Override
public void setEnabled(boolean enabled) {
super.setEnabled(enabled);
colourBox.setEnabled(enabled);
}
public ColourArrayType getSelectedColourMap(){
return types[colourBox.getSelectedIndex()];
}