diff --git a/src/cascadia/TerminalSettingsEditor/MainPage.h b/src/cascadia/TerminalSettingsEditor/MainPage.h index 956ee1bd5eb..ba86c6d50fd 100644 --- a/src/cascadia/TerminalSettingsEditor/MainPage.h +++ b/src/cascadia/TerminalSettingsEditor/MainPage.h @@ -16,6 +16,8 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation _Label{ label }, _SubPage{ subPage } {} + hstring ToString() { return _Label; } + WINRT_PROPERTY(IInspectable, Tag); WINRT_PROPERTY(winrt::hstring, Label); WINRT_PROPERTY(BreadcrumbSubPage, SubPage); diff --git a/src/cascadia/TerminalSettingsEditor/MainPage.idl b/src/cascadia/TerminalSettingsEditor/MainPage.idl index c9093bfe4fa..419981d94de 100644 --- a/src/cascadia/TerminalSettingsEditor/MainPage.idl +++ b/src/cascadia/TerminalSettingsEditor/MainPage.idl @@ -21,7 +21,7 @@ namespace Microsoft.Terminal.Settings.Editor ColorSchemes_Edit }; - runtimeclass Breadcrumb + runtimeclass Breadcrumb : Windows.Foundation.IStringable { IInspectable Tag; String Label;