コード例 #1
0
    public override bool SaveChanges()
    {
        if (activeGroup == null)
        {
            return(false);
        }

        if (properties.name.HasChanged)
        {
            // Update group name
            activeGroup.ChangeName(properties.name);

            // Update accordion label
            dataManagerPanel.UpdateActiveGroup();

            if (!dataManagerPanel.UpdateBackend())
            {
                return(false);
            }
        }

        properties.Apply();

        return(true);
    }