From 76edcedf9d811cf3d911a4931d887673efc4c264 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Wed, 2 Jun 2010 19:08:59 +0000 Subject: [PATCH] - MGR: When starting up and attaching to a project for the first time, show the correct tab if in the advanced view. clientgui/ AdvancedFrame.cpp svn path=/trunk/boinc/; revision=21683 --- checkin_notes | 7 +++++++ clientgui/AdvancedFrame.cpp | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/checkin_notes b/checkin_notes index 708b618e49..3121d11bac 100644 --- a/checkin_notes +++ b/checkin_notes @@ -4064,3 +4064,10 @@ David 2 Jun 2010 cs_prefs.cpp log_flags.cpp,h sim.h + +Rom 2 Jun 2010 + - MGR: When starting up and attaching to a project for the first time, + show the correct tab if in the advanced view. + + clientgui/ + AdvancedFrame.cpp diff --git a/clientgui/AdvancedFrame.cpp b/clientgui/AdvancedFrame.cpp index 6ec3d4e5ea..ea437b9245 100644 --- a/clientgui/AdvancedFrame.cpp +++ b/clientgui/AdvancedFrame.cpp @@ -1807,10 +1807,10 @@ void CAdvancedFrame::OnConnect(CFrameEvent& WXUNUSED(event)) { if (pAPWizard->Run(strName, strURL, pis.team_name, bCachedCredentials)) { // If successful, display the work tab - m_pNotebook->SetSelection(ID_LIST_WORKVIEW - ID_LIST_BASE); + m_pNotebook->SetSelection(ID_ADVTASKSVIEW - ID_ADVVIEWBASE); } else { - // If failure, display the messages tab - m_pNotebook->SetSelection(ID_LIST_MESSAGESVIEW - ID_LIST_BASE); + // If failure, display the notices tab + m_pNotebook->SetSelection(ID_ADVNOTICESVIEW - ID_ADVVIEWBASE); } }