- 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
This commit is contained in:
Rom Walton 2010-06-02 19:08:59 +00:00
parent eb35fc63e1
commit 76edcedf9d
2 changed files with 10 additions and 3 deletions

View File

@ -4064,3 +4064,10 @@ David 2 Jun 2010
cs_prefs.cpp cs_prefs.cpp
log_flags.cpp,h log_flags.cpp,h
sim.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

View File

@ -1807,10 +1807,10 @@ void CAdvancedFrame::OnConnect(CFrameEvent& WXUNUSED(event)) {
if (pAPWizard->Run(strName, strURL, pis.team_name, bCachedCredentials)) { if (pAPWizard->Run(strName, strURL, pis.team_name, bCachedCredentials)) {
// If successful, display the work tab // If successful, display the work tab
m_pNotebook->SetSelection(ID_LIST_WORKVIEW - ID_LIST_BASE); m_pNotebook->SetSelection(ID_ADVTASKSVIEW - ID_ADVVIEWBASE);
} else { } else {
// If failure, display the messages tab // If failure, display the notices tab
m_pNotebook->SetSelection(ID_LIST_MESSAGESVIEW - ID_LIST_BASE); m_pNotebook->SetSelection(ID_ADVNOTICESVIEW - ID_ADVVIEWBASE);
} }
} }