Skip to content

Commit

Permalink
Bug fix for kitbashtool treeview crash
Browse files Browse the repository at this point in the history
  • Loading branch information
donkeyProgramming committed Nov 20, 2024
1 parent dab6d08 commit abe503d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ void MyTreeView_SelectedItemChanged(object sender, RoutedPropertyChangedEventArg
try
{
SelectedObjects.CollectionChanged -= SelectedObjects_CollectionChanged;
SelectedItemChanged -= MyTreeView_SelectedItemChanged;

var treeViewItem = ItemContainerGenerator.ContainerFromItemRecursive(SelectedItem);
if (treeViewItem == null)
return;
Expand Down Expand Up @@ -135,6 +137,7 @@ void MyTreeView_SelectedItemChanged(object sender, RoutedPropertyChangedEventArg
}
finally
{
SelectedItemChanged += MyTreeView_SelectedItemChanged;
SelectedObjects.CollectionChanged += SelectedObjects_CollectionChanged;
}
}
Expand Down
2 changes: 1 addition & 1 deletion Shared/SharedCore/Services/VersionChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Shared.Core.Services
public class VersionChecker
{
private static readonly string GitHubLink = @"https://github.com/donkeyProgramming/TheAssetEditor/releases/latest";
public static string CurrentVersion { get => "0.52"; }
public static string CurrentVersion { get => "0.53"; }

public static void CheckVersion()
{
Expand Down

0 comments on commit abe503d

Please sign in to comment.