mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Fix consistency issues in converting to metadata
This commit is contained in:
@@ -23,12 +23,13 @@ namespace SabreTools.DatItems.Formats
|
||||
#region Constructors
|
||||
|
||||
public SoftwareList() : base() { }
|
||||
|
||||
public SoftwareList(Models.Metadata.SoftwareList item) : base(item)
|
||||
{
|
||||
// Process flag values
|
||||
if (GetStringFieldValue(Models.Metadata.SoftwareList.StatusKey) != null)
|
||||
SetFieldValue<string?>(Models.Metadata.SoftwareList.StatusKey, GetStringFieldValue(Models.Metadata.SoftwareList.StatusKey).AsEnumValue<SoftwareListStatus>().AsStringValue());
|
||||
|
||||
|
||||
// Handle subitems
|
||||
// TODO: Handle the Software subitem
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user