mirror of https://github.com/BOINC/boinc.git
MGR: if Event Log was open, show it _behind_ main window when "opening" Manager after it was hidden
svn path=/trunk/boinc/; revision=22055
This commit is contained in:
parent
0ab3ef3cee
commit
fe7ac49c42
|
@ -5595,3 +5595,11 @@ Rom 23 July 2010
|
|||
DlgEventLog.cpp
|
||||
MainDocument.cpp, .h
|
||||
NoticeListCtrl.cpp
|
||||
|
||||
Charlie 23 Jul 2010
|
||||
- MGR: I had it backwards: if Event Log was open, show it behind main
|
||||
window when "opening" Manager after it was hidden.
|
||||
|
||||
clientgui/
|
||||
BOINCBaseFrame.cpp
|
||||
BOINCGUIApp.cpp
|
||||
|
|
|
@ -793,12 +793,13 @@ bool CBOINCBaseFrame::Show(bool bShow) {
|
|||
}
|
||||
}
|
||||
|
||||
retval = wxFrame::Show(bShow);
|
||||
|
||||
CDlgEventLog* eventLog = wxGetApp().GetEventLog();
|
||||
if (eventLog) {
|
||||
eventLog->Show(bShow);
|
||||
}
|
||||
|
||||
retval = wxFrame::Show(bShow);
|
||||
wxFrame::Raise();
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
|
|
@ -461,7 +461,9 @@ bool CBOINCGUIApp::OnInit() {
|
|||
|
||||
if(bOpenEventLog) {
|
||||
DisplayEventLog(m_bGUIVisible);
|
||||
m_pFrame->Raise();
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue