diff --git a/FluentTerminal.App.ViewModels/Settings/ProfilesPageViewModel.cs b/FluentTerminal.App.ViewModels/Settings/ProfilesPageViewModel.cs index c0aef13..4ef5d8a 100644 --- a/FluentTerminal.App.ViewModels/Settings/ProfilesPageViewModel.cs +++ b/FluentTerminal.App.ViewModels/Settings/ProfilesPageViewModel.cs @@ -103,6 +103,7 @@ namespace FluentTerminal.App.ViewModels.Settings cloned.Id = Guid.NewGuid(); cloned.PreInstalled = false; cloned.Name = $"Copy of {shellProfile.Name}"; + cloned.KeyBindings = new List(); AddShellProfile(cloned); } diff --git a/FluentTerminal.App.ViewModels/Settings/SshProfilesPageViewModel.cs b/FluentTerminal.App.ViewModels/Settings/SshProfilesPageViewModel.cs index 34fe9d9..2663612 100644 --- a/FluentTerminal.App.ViewModels/Settings/SshProfilesPageViewModel.cs +++ b/FluentTerminal.App.ViewModels/Settings/SshProfilesPageViewModel.cs @@ -88,6 +88,7 @@ namespace FluentTerminal.App.ViewModels.Settings cloned.Id = Guid.NewGuid(); cloned.PreInstalled = false; cloned.Name = $"Copy of {shellProfile.Name}"; + cloned.KeyBindings = new List(); foreach (KeyBinding keyBinding in cloned.KeyBindings) {