@@ -74,16 +74,16 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
74
74
const bool extensionPackageChanged = viewModelProperty == L" CurrentExtensionPackage" ;
75
75
const bool profilesModifiedChanged = viewModelProperty == L" ProfilesModified" ;
76
76
const bool profilesAddedChanged = viewModelProperty == L" ProfilesAdded" ;
77
- const bool colorSchmesAddedChanged = viewModelProperty == L" ColorSchemesAdded" ;
78
- if (extensionPackageChanged || (!IsExtensionView () && (profilesModifiedChanged || profilesAddedChanged || colorSchmesAddedChanged )))
77
+ const bool colorSchemesAddedChanged = viewModelProperty == L" ColorSchemesAdded" ;
78
+ if (extensionPackageChanged || (!IsExtensionView () && (profilesModifiedChanged || profilesAddedChanged || colorSchemesAddedChanged )))
79
79
{
80
80
// Use these booleans to track which of our observable vectors need to be refreshed.
81
81
// This prevents a full refresh of the UI when enabling/disabling extensions.
82
82
// If the CurrentExtensionPackage changed, we want to update all components.
83
83
// Otherwise, just update the ones that we were notified about.
84
84
const bool updateProfilesModified = extensionPackageChanged || profilesModifiedChanged;
85
85
const bool updateProfilesAdded = extensionPackageChanged || profilesAddedChanged;
86
- const bool updateColorSchemesAdded = extensionPackageChanged || colorSchmesAddedChanged ;
86
+ const bool updateColorSchemesAdded = extensionPackageChanged || colorSchemesAddedChanged ;
87
87
_UpdateListViews (updateProfilesModified, updateProfilesAdded, updateColorSchemesAdded);
88
88
89
89
if (extensionPackageChanged)
@@ -98,7 +98,7 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
98
98
{
99
99
_NotifyChanges (L" NoProfilesAdded" );
100
100
}
101
- else if (colorSchmesAddedChanged )
101
+ else if (colorSchemesAddedChanged )
102
102
{
103
103
_NotifyChanges (L" NoSchemesAdded" );
104
104
}
0 commit comments