Removed unused styling on JComboBox
This was left by mistake when I was attempting to change the combobox's renderer, this element's styling is never displayed so I decided to remove it.
This commit is contained in:
@@ -399,8 +399,6 @@ public class ConfigPanel extends PluginPanel
|
|||||||
if (component instanceof JComboBox)
|
if (component instanceof JComboBox)
|
||||||
{
|
{
|
||||||
JComboBox jComboBox = (JComboBox) component;
|
JComboBox jComboBox = (JComboBox) component;
|
||||||
jComboBox.setRenderer(new ComboBoxListRenderer());
|
|
||||||
jComboBox.setForeground(Color.WHITE);
|
|
||||||
configManager.setConfiguration(cd.getGroup().keyName(), cid.getItem().keyName(), ((Enum) jComboBox.getSelectedItem()).name());
|
configManager.setConfiguration(cd.getGroup().keyName(), cid.getItem().keyName(), ((Enum) jComboBox.getSelectedItem()).name());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user