diff options
Diffstat (limited to 'Samples/ShowCase/ShowCase.cs')
| -rw-r--r-- | Samples/ShowCase/ShowCase.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Samples/ShowCase/ShowCase.cs b/Samples/ShowCase/ShowCase.cs index d8254317..8af2c002 100644 --- a/Samples/ShowCase/ShowCase.cs +++ b/Samples/ShowCase/ShowCase.cs @@ -16,6 +16,7 @@ namespace ShowCase { static void Main () { + Environment.SetEnvironmentVariable ("FONTCONFIG_PATH", @"C:\Users\Jean-Philippe\source\vcpkg\installed\x64-windows\tools\fontconfig\fonts"); using (Showcase app = new Showcase ()) app.Run (); } @@ -47,6 +48,7 @@ namespace ShowCase set { if (source == value) return; + source = value; reloadFromSource (); CMDSave.CanExecute = source != origSource; @@ -82,7 +84,7 @@ namespace ShowCase } public new bool IsDirty { - get => origSource != source; + get => !string.Equals(origSource, source); } void onSave () { |