Can't disabled MenuItemsImage

Hi,

I create a Menu and add cc.MenuItemImage to it, but I can’t disabled those. I don’t know where is the problem. I call the method setEnabled(false) but never disabled the buttons. I see the code and found this

/**
 * @param {Boolean} bEnabled
     */
    setEnabled:function (bEnabled) {
        if (this._isEnabled == bEnabled) {
            this._super(bEnabled);
            this._updateImagesVisibility();
        }
    },

This if (this._isEnabled == bEnabled) always is false when try disabled the button. This is a bug ? If I set (this._isEnabled all work fine.

Thanks )

Thank you, I will fix the bug soon.