We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bf0fe4 commit 3fdcd65Copy full SHA for 3fdcd65
1 file changed
Gui/ViewModels/LocoTypes/ObjectEditorViewModel.cs
@@ -278,6 +278,13 @@ public override void Load()
278
{
279
ObjectModelHeaderViewModel = new ObjectModelHeaderViewModel(CurrentObject.DatInfo.S5Header.Convert());
280
281
+ // an object saved as 'Vanilla' but isn't truly Vanilla will have its source auto-set to Custom
282
+ // but in this case, we do want to show the user this, so we'll default to Steam
283
+ if (CurrentObject.DatInfo.S5Header.ObjectSource == DatObjectSource.Vanilla && ObjectModelHeaderViewModel.ObjectSource == ObjectSource.Custom)
284
+ {
285
+ ObjectModelHeaderViewModel.ObjectSource = ObjectSource.LocomotionSteam;
286
+ }
287
+
288
ObjectDatHeaderViewModel = new ObjectDatHeaderViewModel(
289
CurrentObject.DatInfo.S5Header.Checksum,
290
CurrentObject.DatInfo.ObjectHeader.Encoding,
0 commit comments