mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 20:17:03 +00:00
add some debug statements and fix presets file loading
This commit is contained in:
parent
3e56859943
commit
f8ae6264f7
3 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue