From 9662bc69102e2e152a062a9060cb63d2742582d3 Mon Sep 17 00:00:00 2001 From: Ian O'Neill Date: Mon, 25 Oct 2021 12:17:48 +0100 Subject: [PATCH] Ensure the background image path is displayed in the settings UI (#11580) ## Summary of the Pull Request Ensures that the background image path is displayed in the settings UI. ## References One of the items on #11353 ## PR Checklist * [x] Closes #11541 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA ## Validation Steps Performed Set the background image path and saw that it was displayed in the settings UI. --- .../TerminalSettingsEditor/Appearances.xaml | 2 +- src/cascadia/TerminalSettingsEditor/Converters.cpp | 14 +++++++++++--- src/cascadia/TerminalSettingsEditor/Converters.h | 2 +- src/cascadia/TerminalSettingsEditor/Converters.idl | 2 +- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/cascadia/TerminalSettingsEditor/Appearances.xaml b/src/cascadia/TerminalSettingsEditor/Appearances.xaml index c1f325376..497b7349a 100644 --- a/src/cascadia/TerminalSettingsEditor/Appearances.xaml +++ b/src/cascadia/TerminalSettingsEditor/Appearances.xaml @@ -220,7 +220,7 @@ + Text="{x:Bind local:Converters.StringOrEmptyIfPlaceholder('desktopWallpaper', Appearance.BackgroundImagePath), Mode=TwoWay, BindBack=Appearance.SetBackgroundImagePath}" />