Revision 44262 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.swing/org.gvsig.expressionevaluator.swing.impl/src/main/java/org/gvsig/expressionevaluator/swing/impl/elements/DefaultFunctionElement.java

View differences:

DefaultFunctionElement.java
47 47

  
48 48
    @Override
49 49
    public boolean isEnabled() {
50
        if( this.getConfig().getPreferences().isSQLCompatible() ) {
51
            return this.function.isSQLCompatible();
50
        try {
51
            if( this.getConfig().getPreferences().isSQLCompatible() ) {
52
                return this.function.isSQLCompatible();
53
            }
54
        } catch(Exception ex) {
55
            
52 56
        }
53 57
        return true;
54 58
    }

Also available in: Unified diff