MGR: Don't automatically switch to Tasks tab when user selects "Run CPU Benchmarks" from the Advanced menu.

This commit is contained in:
Charlie Fenton 2014-05-09 19:47:28 -07:00
parent 9db8f99f2b
commit 36d98622b5
1 changed files with 0 additions and 2 deletions

View File

@ -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"));