mirror of https://github.com/BOINC/boinc.git
MGR: If user selects Event Log from menu when Event Log window already open, just bring it to the front instead of opening another window
svn path=/trunk/boinc/; revision=20940
This commit is contained in:
parent
cbeaf845a7
commit
bfeafea68c
|
@ -1992,7 +1992,6 @@ Rom 16 Mar 2010
|
|||
win_build/
|
||||
*.vcproc
|
||||
|
||||
|
||||
Charlie 18 Mar 2010
|
||||
- MGR: If user selects Event Log from menu when Event Log window already open,
|
||||
just bring it to the front instead of opening another window.
|
||||
|
|
|
@ -811,12 +811,11 @@ bool CBOINCGUIApp::DisplayEventLog() {
|
|||
m_pEventLog->Raise();
|
||||
} else {
|
||||
m_pEventLog = new CDlgEventLog();
|
||||
}
|
||||
|
||||
if (m_pEventLog) {
|
||||
rc = m_pEventLog->Show();
|
||||
if (m_pFrame) {
|
||||
m_pFrame->UpdateRefreshTimerInterval();
|
||||
if (m_pEventLog) {
|
||||
rc = m_pEventLog->Show();
|
||||
if (m_pFrame) {
|
||||
m_pFrame->UpdateRefreshTimerInterval();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue