From 4abc3de4e80fc4fd5bb58fdda8aaf0884a479ba0 Mon Sep 17 00:00:00 2001 From: Charlie Kindel Date: Thu, 1 Apr 2021 11:15:29 -0600 Subject: [PATCH] fixed rediculous compiler warning (#1164) --- Terminal.Gui/Terminal.Gui.csproj | 13 ++++++++++++- UICatalog/Scenarios/Editor.cs | 6 ++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/Terminal.Gui/Terminal.Gui.csproj b/Terminal.Gui/Terminal.Gui.csproj index 80df208cc..84e91329f 100644 --- a/Terminal.Gui/Terminal.Gui.csproj +++ b/Terminal.Gui/Terminal.Gui.csproj @@ -17,7 +17,18 @@ Application framework for creating modern console applications using .NET Terminal.Gui is a framework for creating console user interfaces - v1.0.??? + v1.0.0-beta.9 + * NEW CONTROL: Tabview - thanks @tznind! + * UI Catalog now shows correct Terminal.gui.dll version + * Fixes #939 - README sample does not compile - thanks @buzzfrog! + * Fixes #1154 - FileDialog blank constructor results in unstable window + * Fixes #1155 - MoveForward/MoveBackward not bound on Text controls. + * Fixes #1152 - Generic TreeView`1 breaks upon selection in All Views Tester) + * Fixes #1148 - TextFormatter.Format does not keep the end spaces on wrapped text. + * Fixes #134 - (HUGE) TextView: Add line wrapping. + * Fixes #1145 - ScrollBar down arrow is not showing. + * Fixes #1143 - Cannot change the MenuBar's background color. + * Fixes #1141 - Cannot change the StatusBar's background color. * Fixes #1048 - BrighCyan to BrightCyan spelling * Fixes #1130 - Broken Table/TreeView links in docs. diff --git a/UICatalog/Scenarios/Editor.cs b/UICatalog/Scenarios/Editor.cs index 36c7b0ce1..7e72df0b0 100644 --- a/UICatalog/Scenarios/Editor.cs +++ b/UICatalog/Scenarios/Editor.cs @@ -226,13 +226,15 @@ namespace UICatalog { "File already exists. Overwrite any way?", "No", "Ok") == 1) { return SaveFile (sd.FileName.ToString (), sd.FilePath.ToString ()); } else { - return _saved = false; + _saved = false; + return _saved; } } else { return SaveFile (sd.FileName.ToString (), sd.FilePath.ToString ()); } } else { - return _saved = false; + _saved = false; + return _saved; } }