add some debug statements and fix presets file loading

This commit is contained in:
Andrew Welker
2020-12-09 16:18:21 -07:00
parent 3e56859943
commit f8ae6264f7
3 changed files with 6 additions and 2 deletions

View File

@@ -106,6 +106,8 @@ namespace PepperDash.Essentials.Core.Presets
public void SetFileName(string path)
{
_filePath = ListPathPrefix + path;
Debug.Console(2, this, "Setting presets file path to {0}", _filePath);
LoadChannels();
}
@@ -114,6 +116,8 @@ namespace PepperDash.Essentials.Core.Presets
try
{
_fileOps.Enter();
Debug.Console(2, this, "Loading presets from {0}", _filePath);
PresetsAreLoaded = false;
try
{