IDEA-145839 text field should be enabled or disabled instead of editable to proper focus cycle

This commit is contained in:
Sergey Malenkov
2015-10-02 22:45:18 +03:00
parent 8f5a60c6fe
commit b45f6e271d
@@ -268,7 +268,7 @@ public class FontOptions extends JPanel implements OptionsPanel{
mySecondaryCombo.setEnabled(isThereSecondaryFont && !readOnly);
myOnlyMonospacedCheckBox.setEnabled(!readOnly);
myLineSpacingField.setEnabled(!readOnly);
myEditorFontSizeField.setEditable(!readOnly);
myEditorFontSizeField.setEnabled(!readOnly);
myUseSecondaryFontCheckbox.setEnabled(!readOnly);
myIsInSchemeChange = false;