diff --git a/src/cascadia/TerminalApp/Tab.cpp b/src/cascadia/TerminalApp/Tab.cpp index 07147ed13fa..de5ecd348fc 100644 --- a/src/cascadia/TerminalApp/Tab.cpp +++ b/src/cascadia/TerminalApp/Tab.cpp @@ -133,7 +133,6 @@ void Tab::Initialize(const TermControl& control) _CreateContextMenu(); } - // Method Description: // - Attempts to update the settings of this tab's tree of panes. // Arguments: @@ -421,7 +420,7 @@ void Tab::_CreateContextMenu() _tabColorPickup.ColorSelected([weakThis](auto newTabColor) { if (auto tab{ weakThis.lock() }) { - tab->_SetTabColor(newTabColor); + tab->_SetTabColor(newTabColor); } }); diff --git a/src/cascadia/TerminalApp/Tab.h b/src/cascadia/TerminalApp/Tab.h index 23aab75137b..53975589732 100644 --- a/src/cascadia/TerminalApp/Tab.h +++ b/src/cascadia/TerminalApp/Tab.h @@ -56,7 +56,7 @@ class Tab : public std::enable_shared_from_this void _SetTabColor(const winrt::Windows::UI::Color& color); void _ResetTabColor(); void _RefreshVisualState(); - + void _BindEventHandlers(const winrt::Microsoft::Terminal::TerminalControl::TermControl& control) noexcept; void _AttachEventHandlersToControl(const winrt::Microsoft::Terminal::TerminalControl::TermControl& control);