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