diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-12-07 12:37:23 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-12-07 12:37:23 +0100 |
| commit | f4762349a9956bd7ae4fc11f1e165eafb0d2c444 (patch) | |
| tree | f7148e8510b18e4a929e80466696b7b79fba7c1f /Samples/ShowCase | |
| parent | a77e1d7b06d860e040097b72cb9244a45e634e62 (diff) | |
stickyMouse, dragNdrop + mdiWins debug and teststemp
Diffstat (limited to 'Samples/ShowCase')
| -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 () { |