Merge pull request #1039 from PepperDash/hotfix/touchpanelBase

Fix issues with TouchpanelBase
This commit is contained in:
Neil Dorin
2022-11-23 16:24:28 -07:00
committed by GitHub

View File

@@ -31,7 +31,7 @@ namespace PepperDash.Essentials.Core.UI
:base(key, name)
{
if (Panel == null)
if (panel == null)
{
Debug.Console(0, this, "Panel is not valid. Touchpanel class WILL NOT work correctly");
return;
@@ -71,6 +71,8 @@ namespace PepperDash.Essentials.Core.UI
return;
}
}
Panel.LoadSmartObjects(sgdName);
});
AddPostActivationAction(() =>