We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 552e33a commit 499e138Copy full SHA for 499e138
Gui/ViewModels/DatTypes/G1ViewModel.cs
@@ -1,7 +1,9 @@
1
using Dat.FileParsing;
2
+using Definitions.ObjectModels.Objects.Currency;
3
using Gui.Models;
4
using ReactiveUI.Fody.Helpers;
5
using System.IO;
6
+using System.Linq;
7
using System.Threading.Tasks;
8
9
namespace Gui.ViewModels;
@@ -36,6 +38,8 @@ public override void Save()
36
38
return;
37
39
}
40
41
+ Model.G1.GraphicsElements = [.. ImageTableViewModel.ImageViewModels.Select(x => x.ToGraphicsElement())];
42
+
43
var savePath = CurrentFile.FileLocation == FileLocation.Local
44
? Path.Combine(Model.Settings.ObjDataDirectory, CurrentFile.FileName)
45
: Path.Combine(Model.Settings.DownloadFolder, Path.ChangeExtension(CurrentFile.DisplayName, ".dat"));
0 commit comments