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