diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-04-09 20:27:29 +0300 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-04-09 20:27:29 +0300 |
| commit | 23f4bd3bb2f7ff5e0814555efe1c6115f32c49c4 (patch) | |
| tree | 9fc86e45ca156e736f5bc9b17605677f8f4ea0c2 /Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications | |
| parent | 24b3ae08ee6da1350f31541cf4966958cfde8a74 (diff) | |
| download | Tango-23f4bd3bb2f7ff5e0814555efe1c6115f32c49c4.tar.gz Tango-23f4bd3bb2f7ff5e0814555efe1c6115f32c49c4.zip | |
Notifications list, GUI changes.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs index ac1972f5f..cc8f7b4ab 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs @@ -303,6 +303,7 @@ namespace Tango.PPC.UI.Notifications item.RemoveAction = () => { PopNotification(item); }; NotificationItems.Insert(0, item); RaisePropertyChanged(nameof(HasNotificationItems)); + RaisePropertyChanged(nameof(NotificationItems)); return item; } @@ -325,6 +326,7 @@ namespace Tango.PPC.UI.Notifications LogManager.Log($"Popping out NotificationItem '{item.GetType().Name}'."); NotificationItems.Remove(item); RaisePropertyChanged(nameof(HasNotificationItems)); + RaisePropertyChanged(nameof(NotificationItems)); } /// <summary> |
