From e358078ca8b1c39b6a153fa947d5125f0ecf98e8 Mon Sep 17 00:00:00 2001 From: amanpras Date: Wed, 3 Jul 2024 08:06:48 +0530 Subject: [PATCH] Fix - Activity Dev Time counter Stop on switching the business flow --- .../SolutionWindows/TreeViewItems/BusinessFlowTreeItem.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Ginger/Ginger/SolutionWindows/TreeViewItems/BusinessFlowTreeItem.cs b/Ginger/Ginger/SolutionWindows/TreeViewItems/BusinessFlowTreeItem.cs index cd45c68fed..0a11bc38a3 100644 --- a/Ginger/Ginger/SolutionWindows/TreeViewItems/BusinessFlowTreeItem.cs +++ b/Ginger/Ginger/SolutionWindows/TreeViewItems/BusinessFlowTreeItem.cs @@ -110,7 +110,11 @@ Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext) private void TreeViewItem_Unselected(object sender, RoutedEventArgs e) { - + if (mBusinessFlow.CurrentActivity != null) + { + mBusinessFlow.CurrentActivity.StopTimer(); + } + mBusinessFlow.StopTimer(); }