|
|
|
@ -61,7 +61,8 @@ public class TextFieldEditorDefinePane extends FieldEditorDefinePane<TextEditor>
|
|
|
|
|
regPane.getRegComboBox().addActionListener(new ActionListener() { |
|
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
|
RegExp regExp = (RegExp) regPane.getRegComboBox().getSelectedItem(); |
|
|
|
|
if (!StringUtils.isNotEmpty(regExp.toRegText())) { |
|
|
|
|
String regText = regExp.toRegText(); |
|
|
|
|
if (regText != null && !StringUtils.isNotEmpty(regText)) { |
|
|
|
|
getRegErrorMsgTextField().setEnabled(false); |
|
|
|
|
} else { |
|
|
|
|
getRegErrorMsgTextField().setEnabled(true); |
|
|
|
|