From 36d98622b55fd425fd0011c2ac697f5b9e3f59e9 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Fri, 9 May 2014 19:47:28 -0700 Subject: [PATCH] MGR: Don't automatically switch to Tasks tab when user selects "Run CPU Benchmarks" from the Advanced menu. --- clientgui/AdvancedFrame.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/clientgui/AdvancedFrame.cpp b/clientgui/AdvancedFrame.cpp index f4e0a04016..c44142f5b7 100644 --- a/clientgui/AdvancedFrame.cpp +++ b/clientgui/AdvancedFrame.cpp @@ -1436,11 +1436,9 @@ void CAdvancedFrame::OnRunBenchmarks(wxCommandEvent& WXUNUSED(event)) { wxLogTrace(wxT("Function Start/End"), wxT("CAdvancedFrame::OnRunBenchmarks - Function Begin")); CMainDocument* pDoc = wxGetApp().GetDocument(); - wxASSERT(m_pNotebook); wxASSERT(pDoc); wxASSERT(wxDynamicCast(pDoc, CMainDocument)); - m_pNotebook->SetSelection(ID_ADVTASKSVIEW - ID_ADVVIEWBASE); pDoc->RunBenchmarks(); wxLogTrace(wxT("Function Start/End"), wxT("CAdvancedFrame::OnRunBenchmarks - Function End"));