Skip to content

MMBN1 - Save issues with no styles #11

@whodafreak

Description

@whodafreak

There is an issue currently wher eif you do not select any styles and try to save you get a cannot convert null to byte error. This is in your BooleanExtensions.ToByte method.
Update:
return value.Value ? (byte)1 : (byte)0;
To:
return value.GetValueOrDefault(false) ? (byte)1 : (byte)0;

Current workaround: Open the styles screen and hit confirm to set the nulled fiedls to false.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions