aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Touch/Controls
diff options
context:
space:
mode:
authorRoy <Roy.mail.net@gmail.com>2023-02-26 14:09:42 +0200
committerRoy <Roy.mail.net@gmail.com>2023-02-26 14:09:42 +0200
commitc256fc124a867707c787074c9076227341766794 (patch)
treeb3105881412a06219a6f0e0d9af7dd0e662bf4e8 /Software/Visual_Studio/Tango.Touch/Controls
parent795f3ab6ea36551281ec6442aa16b9547af96adc (diff)
downloadTango-c256fc124a867707c787074c9076227341766794.tar.gz
Tango-c256fc124a867707c787074c9076227341766794.zip
eureka_ppc
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch/Controls')
-rw-r--r--Software/Visual_Studio/Tango.Touch/Controls/TouchNotificationBar.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Touch/Controls/TouchNotificationBar.cs b/Software/Visual_Studio/Tango.Touch/Controls/TouchNotificationBar.cs
index 1e5a5c8fe..77d5bbb53 100644
--- a/Software/Visual_Studio/Tango.Touch/Controls/TouchNotificationBar.cs
+++ b/Software/Visual_Studio/Tango.Touch/Controls/TouchNotificationBar.cs
@@ -158,6 +158,7 @@ namespace Tango.Touch.Controls
private FrameworkElement GetLastNotification()
{
+ if (_items_control == null) return null;
return _items_control.ItemContainerGenerator.ContainerFromIndex(0) as FrameworkElement;
}