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
commit f48b1a2de3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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(() =>