From d1ca498643b30fd7119389da770a2ab2060a883f Mon Sep 17 00:00:00 2001 From: LongerWarrior Date: Mon, 14 Oct 2024 19:05:23 +0300 Subject: [PATCH] CommitControl update --- CUE4Parse | 2 +- FModel/Settings/DirectorySettings.cs | 5 ++ FModel/Views/DirectorySelector.xaml | 9 ++- .../Resources/Controls/CommitControl.xaml | 72 +++++++++++++++---- .../Controls/CommitDownloaderControl.xaml | 46 +----------- 5 files changed, 74 insertions(+), 60 deletions(-) diff --git a/CUE4Parse b/CUE4Parse index 1a5ba822..13cc381f 160000 --- a/CUE4Parse +++ b/CUE4Parse @@ -1 +1 @@ -Subproject commit 1a5ba822bd3bf09edaecae40075fa0705d5436df +Subproject commit 13cc381f9f88c4396a63a59c81445baea03693d3 diff --git a/FModel/Settings/DirectorySettings.cs b/FModel/Settings/DirectorySettings.cs index d96a735b..6b977cbb 100644 --- a/FModel/Settings/DirectorySettings.cs +++ b/FModel/Settings/DirectorySettings.cs @@ -113,6 +113,11 @@ public class DirectorySettings : ViewModel, ICloneable return HashCode.Combine(GameDirectory, (int) UeVersion); } + public override string ToString() + { + return GameName; + } + public object Clone() { return this.MemberwiseClone(); diff --git a/FModel/Views/DirectorySelector.xaml b/FModel/Views/DirectorySelector.xaml index 64eeed8b..f268e0a1 100644 --- a/FModel/Views/DirectorySelector.xaml +++ b/FModel/Views/DirectorySelector.xaml @@ -52,14 +52,17 @@ - + - + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/FModel/Views/Resources/Controls/CommitDownloaderControl.xaml b/FModel/Views/Resources/Controls/CommitDownloaderControl.xaml index 256ce0a4..954d64e7 100644 --- a/FModel/Views/Resources/Controls/CommitDownloaderControl.xaml +++ b/FModel/Views/Resources/Controls/CommitDownloaderControl.xaml @@ -15,51 +15,9 @@ - - - - - - - - - - - - - - - + @@ -78,7 +36,7 @@ -