aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs15
1 files changed, 15 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 e9de2538e..c2c069f45 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs
@@ -19,6 +19,7 @@ using System.Reflection;
using Tango.Core.DI;
using System.ComponentModel;
using System.Windows.Data;
+using Tango.Logging;
namespace Tango.PPC.UI.Notifications
{
@@ -563,6 +564,11 @@ namespace Tango.PPC.UI.Notifications
/// <param name="appButton">The app button.</param>
public void PushAppButton(AppButton appButton)
{
+ if (appButton != null)
+ {
+ LogManager.Log($"Pushing app button '{appButton.GetType().Name}'...");
+ }
+
_appButtons.Insert(0, appButton);
CurrentAppButton = appButton;
}
@@ -573,6 +579,15 @@ namespace Tango.PPC.UI.Notifications
/// <param name="appButton">The app button.</param>
public void PopAppButton(AppButton appButton)
{
+ if (appButton != null)
+ {
+ LogManager.Log($"Popping app button '{appButton.GetType().Name}'...");
+ }
+ else
+ {
+ LogManager.Log("Popping app button 'null' ??", LogCategory.Warning);
+ }
+
_appButtons.RemoveAll(x => x == appButton);
CurrentAppButton = _appButtons.FirstOrDefault();