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:
Charlie Fenton 2010-03-18 10:41:25 +00:00
parent cbeaf845a7
commit bfeafea68c
2 changed files with 5 additions and 7 deletions

View File

@ -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.

View File

@ -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();
}
}
}