CP-6093: Removed uses of the enum value Tab.History.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
Konstantina Chremmou 2013-11-12 11:30:11 +00:00
parent dfa26cf0cc
commit 0d1b7b2b74
3 changed files with 1 additions and 6 deletions

View File

@ -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();
}
}

View File

@ -1719,7 +1719,7 @@ namespace XenAdmin
/// </summary>
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)

View File

@ -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();
}