Skip to content

Commit a282164

Browse files
committed
spell
1 parent 27e1aee commit a282164

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/cascadia/TerminalSettingsEditor/Extensions.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,16 +74,16 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
7474
const bool extensionPackageChanged = viewModelProperty == L"CurrentExtensionPackage";
7575
const bool profilesModifiedChanged = viewModelProperty == L"ProfilesModified";
7676
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)))
7979
{
8080
// Use these booleans to track which of our observable vectors need to be refreshed.
8181
// This prevents a full refresh of the UI when enabling/disabling extensions.
8282
// If the CurrentExtensionPackage changed, we want to update all components.
8383
// Otherwise, just update the ones that we were notified about.
8484
const bool updateProfilesModified = extensionPackageChanged || profilesModifiedChanged;
8585
const bool updateProfilesAdded = extensionPackageChanged || profilesAddedChanged;
86-
const bool updateColorSchemesAdded = extensionPackageChanged || colorSchmesAddedChanged;
86+
const bool updateColorSchemesAdded = extensionPackageChanged || colorSchemesAddedChanged;
8787
_UpdateListViews(updateProfilesModified, updateProfilesAdded, updateColorSchemesAdded);
8888

8989
if (extensionPackageChanged)
@@ -98,7 +98,7 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
9898
{
9999
_NotifyChanges(L"NoProfilesAdded");
100100
}
101-
else if (colorSchmesAddedChanged)
101+
else if (colorSchemesAddedChanged)
102102
{
103103
_NotifyChanges(L"NoSchemesAdded");
104104
}

0 commit comments

Comments
 (0)