diff --git a/Editors/KitbasherEditor/ViewModels/SceneExplorer/MultiSelectTreeView.cs b/Editors/KitbasherEditor/ViewModels/SceneExplorer/MultiSelectTreeView.cs index e314c89e..e79a353e 100644 --- a/Editors/KitbasherEditor/ViewModels/SceneExplorer/MultiSelectTreeView.cs +++ b/Editors/KitbasherEditor/ViewModels/SceneExplorer/MultiSelectTreeView.cs @@ -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; @@ -135,6 +137,7 @@ void MyTreeView_SelectedItemChanged(object sender, RoutedPropertyChangedEventArg } finally { + SelectedItemChanged += MyTreeView_SelectedItemChanged; SelectedObjects.CollectionChanged += SelectedObjects_CollectionChanged; } } diff --git a/Shared/SharedCore/Services/VersionChecker.cs b/Shared/SharedCore/Services/VersionChecker.cs index 397701aa..6e022c44 100644 --- a/Shared/SharedCore/Services/VersionChecker.cs +++ b/Shared/SharedCore/Services/VersionChecker.cs @@ -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() {