Skip to content

Commit

Permalink
Update src/cascadia/TerminalSettingsEditor/PreviewConnection.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Leonard Hecker <lhecker@microsoft.com>
  • Loading branch information
DHowett and lhecker committed May 16, 2023
1 parent 9ce6413 commit a5529a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cascadia/TerminalSettingsEditor/PreviewConnection.cpp
Expand Up @@ -53,10 +53,9 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation

void PreviewConnection::DisplayPowerlineGlyphs(bool d) noexcept
{
std::swap(d, _displayPowerlineGlyphs);
if (_displayPowerlineGlyphs != d)
{
// If it changed, redraw
_displayPowerlineGlyphs = d;
Start();
}
}
Expand Down

0 comments on commit a5529a9

Please sign in to comment.