mirror of https://github.com/BOINC/boinc.git
MGR: Don't automatically switch to Tasks tab when user selects "Run CPU Benchmarks" from the Advanced menu.
This commit is contained in:
parent
9db8f99f2b
commit
36d98622b5
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue