@ -120,11 +120,12 @@ public class CellFormulaQuickEditor extends CellQuickEditor {
public void doOk() {
BaseFormula fm = formulaPane.update();
if (fm.getContent().length() <= 1) {
fm.setContent(DEFAULT_FORMULA);
formulaTextField.setText(DEFAULT_FORMULA);
} else {
formulaTextField.setText(fm.getContent());
editingCellElement.setValue(fm);
}
}).setVisible(true);