diff options
| author | Roy <Roy.mail.net@gmail.com> | 2023-02-26 14:09:42 +0200 |
|---|---|---|
| committer | Roy <Roy.mail.net@gmail.com> | 2023-02-26 14:09:42 +0200 |
| commit | c256fc124a867707c787074c9076227341766794 (patch) | |
| tree | b3105881412a06219a6f0e0d9af7dd0e662bf4e8 /Software/Visual_Studio/Tango.Touch/Controls | |
| parent | 795f3ab6ea36551281ec6442aa16b9547af96adc (diff) | |
| download | Tango-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.cs | 1 |
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; } |
