From 0d1b7b2b745bb9e78b664d3285e411f2d02584fe Mon Sep 17 00:00:00 2001 From: Konstantina Chremmou Date: Tue, 12 Nov 2013 11:30:11 +0000 Subject: [PATCH] CP-6093: Removed uses of the enum value Tab.History. Signed-off-by: Konstantina Chremmou --- XenAdmin/Controls/Wlb/WlbOptimizePool.cs | 3 --- XenAdmin/MainWindow.cs | 2 +- XenAdmin/Wizards/HAWizard.cs | 2 -- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/XenAdmin/Controls/Wlb/WlbOptimizePool.cs b/XenAdmin/Controls/Wlb/WlbOptimizePool.cs index a5ba2fadd..23c4ae7f1 100644 --- a/XenAdmin/Controls/Wlb/WlbOptimizePool.cs +++ b/XenAdmin/Controls/Wlb/WlbOptimizePool.cs @@ -461,9 +461,6 @@ namespace XenAdmin.Controls.Wlb if ((action != null && action.GetType() != typeof(WlbOptimizePoolAction)) || action == null) { new WlbOptimizePoolAction(_pool, _vmOptList, _optId).RunAsync(); - - // Switch to logs tab, since this action takes a while and there's no feedback on the HA tab - Program.MainWindow.SwitchToTab(MainWindow.Tab.History); Program.MainWindow.UpdateToolbars(); } } diff --git a/XenAdmin/MainWindow.cs b/XenAdmin/MainWindow.cs index 68989a86f..1aa1006e7 100644 --- a/XenAdmin/MainWindow.cs +++ b/XenAdmin/MainWindow.cs @@ -1719,7 +1719,7 @@ namespace XenAdmin /// public enum Tab { - Overview, Home, Settings, Storage, Network, Console, Performance, History, NICs, SR + Overview, Home, Settings, Storage, Network, Console, Performance, NICs, SR } public void SwitchToTab(Tab tab) diff --git a/XenAdmin/Wizards/HAWizard.cs b/XenAdmin/Wizards/HAWizard.cs index bb01de619..a575ab140 100644 --- a/XenAdmin/Wizards/HAWizard.cs +++ b/XenAdmin/Wizards/HAWizard.cs @@ -153,8 +153,6 @@ namespace XenAdmin.Wizards action.RunAsync(); Program.MainWindow.UpdateToolbars(); - // Switch to logs tab, since this action takes a while and there's no feedback on the HA tab - Program.MainWindow.SwitchToTab(MainWindow.Tab.History); base.FinishWizard(); }