Skip to content

Commit b014b18

Browse files
Fix copy song to clipboard showing fields it shouldn't be
1 parent 4c15be4 commit b014b18

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

MSUScripter/Services/ControlServices/MsuProjectWindowService.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,13 +1091,17 @@ public void ToggleCopyrightStatusIcons(bool? value = null)
10911091
return null;
10921092
}
10931093

1094+
output.Id = null!;
10941095
output.TrackNumber = 0;
10951096
output.TrackName = null;
10961097
output.OutputPath = null;
10971098
output.LastModifiedDate = new DateTime();
10981099
output.IsComplete = false;
10991100
output.MsuPcmInfo.ClearFieldsForYaml();
11001101
output.IsAlt = false;
1102+
output.LastGeneratedDate = new DateTime();
1103+
output.DisplayAdvancedMode = null;
1104+
output.MsuPcmInfo.Output = null;
11011105
var yamlText = yamlService.ToYaml(output, YamlType.PascalIgnoreDefaults);
11021106

11031107
return

0 commit comments

Comments
 (0)