mirror of https://github.com/BOINC/boinc.git
- MGR: Make sure the attach to project wizard launches if BOINC
is not attached to any projects. clientgui/ AdvancedFrame.cpp sg_BoincSimpleGUI.cpp svn path=/trunk/boinc/; revision=14607
This commit is contained in:
parent
26a3c058d7
commit
2eb29f4b68
|
@ -743,3 +743,11 @@ Rom Jan 21 2008
|
|||
|
||||
clientgui/
|
||||
ProjectListCtrl.cpp
|
||||
|
||||
Rom Jan 21 2008
|
||||
- MGR: Make sure the attach to project wizard launches if BOINC
|
||||
is not attached to any projects.
|
||||
|
||||
clientgui/
|
||||
AdvancedFrame.cpp
|
||||
sg_BoincSimpleGUI.cpp
|
||||
|
|
|
@ -1847,7 +1847,7 @@ void CAdvancedFrame::OnConnect(CFrameEvent& WXUNUSED(event)) {
|
|||
// If failure, display the messages tab
|
||||
m_pNotebook->SetSelection(ID_LIST_MESSAGESVIEW - ID_LIST_BASE);
|
||||
}
|
||||
} else if (pis.url.size() && !status.disallow_attach) {
|
||||
} else if ((pis.url.size() || (0 >= pDoc->GetProjectCount())) && !status.disallow_attach) {
|
||||
if (!IsShown()) {
|
||||
Show();
|
||||
}
|
||||
|
|
|
@ -413,7 +413,7 @@ void CSimpleFrame::OnConnect(CFrameEvent& WXUNUSED(event)) {
|
|||
// If successful, hide the main window
|
||||
Hide();
|
||||
}
|
||||
} else if (pis.url.size() && !status.disallow_attach) {
|
||||
} else if ((pis.url.size() || (0 >= pDoc->GetProjectCount())) && !status.disallow_attach) {
|
||||
if (!IsShown()) {
|
||||
Show();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue