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,6 +98,12 @@ public class ColourComboBox extends PamPanel {
}
}
@Override
public void setEnabled(boolean enabled) {
super.setEnabled(enabled);
colourBox.setEnabled(enabled);
}
public ColourArrayType getSelectedColourMap(){
return types[colourBox.getSelectedIndex()];
}