mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-81297 - NPE: ColorAndFontOptions.getPanels
This commit is contained in:
@@ -211,7 +211,7 @@ public class FontOptions extends JPanel implements OptionsPanel{
|
||||
Object source = event.getSource();
|
||||
if (source instanceof FontComboBox) {
|
||||
FontComboBox combo = (FontComboBox)source;
|
||||
if (combo.isEnabled() && combo.getSelectedItem() != null) {
|
||||
if (combo.isEnabled() && combo.isShowing() && combo.getSelectedItem() != null) {
|
||||
syncFontFamilies();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user