mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-07-02 10:38:16 +00:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
8ba993ed66
commit
f1ef479301
1 changed files with 2 additions and 2 deletions
|
|
@ -171,14 +171,14 @@ namespace PepperDash.Core.WebApi.Presets
|
||||||
|
|
||||||
J2SMaster.LoadWithJson(preset.Data);
|
J2SMaster.LoadWithJson(preset.Data);
|
||||||
if (handler != null)
|
if (handler != null)
|
||||||
PresetReceived(this, new PresetReceivedEventArgs(preset, true));
|
handler(this, new PresetReceivedEventArgs(preset, true));
|
||||||
}
|
}
|
||||||
else // no existing preset
|
else // no existing preset
|
||||||
{
|
{
|
||||||
CurrentPreset = new Preset();
|
CurrentPreset = new Preset();
|
||||||
LoadDefaultPresetData();
|
LoadDefaultPresetData();
|
||||||
if (handler != null)
|
if (handler != null)
|
||||||
PresetReceived(this, new PresetReceivedEventArgs(null, false));
|
handler(this, new PresetReceivedEventArgs(null, false));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (HttpException e)
|
catch (HttpException e)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue