mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- ComboBoxWrapper will retain whether its combobox is enabled or not with a skin change
This commit is contained in:
@@ -202,6 +202,7 @@ public class FComboBoxWrapper<E> {
|
|||||||
newComboBox.addKeyListener(l);
|
newComboBox.addKeyListener(l);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
newComboBox.setEnabled(comboBox.isEnabled());
|
||||||
newComboBox.setRenderer(comboBox.getRenderer());
|
newComboBox.setRenderer(comboBox.getRenderer());
|
||||||
newComboBox.setTextAlignment(comboBox.getTextAlignment());
|
newComboBox.setTextAlignment(comboBox.getTextAlignment());
|
||||||
if (comboBox.getSkinFont() != null) {
|
if (comboBox.getSkinFont() != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user