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=20939
This commit is contained in:
parent
84ceac6913
commit
cbeaf845a7
|
@ -1991,3 +1991,14 @@ Rom 16 Mar 2010
|
||||||
boinc_win.h
|
boinc_win.h
|
||||||
win_build/
|
win_build/
|
||||||
*.vcproc
|
*.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.
|
||||||
|
- lib: Fix crash bugs.
|
||||||
|
|
||||||
|
clientgui/
|
||||||
|
BOINCGUIApp.cpp
|
||||||
|
lib/
|
||||||
|
gui_rpc_client_ops.cpp
|
||||||
|
|
|
@ -807,7 +807,12 @@ int CBOINCGUIApp::StartBOINCDefaultScreensaverTest() {
|
||||||
bool CBOINCGUIApp::DisplayEventLog() {
|
bool CBOINCGUIApp::DisplayEventLog() {
|
||||||
bool rc = false;
|
bool rc = false;
|
||||||
|
|
||||||
|
if (m_pEventLog) {
|
||||||
|
m_pEventLog->Raise();
|
||||||
|
} else {
|
||||||
m_pEventLog = new CDlgEventLog();
|
m_pEventLog = new CDlgEventLog();
|
||||||
|
}
|
||||||
|
|
||||||
if (m_pEventLog) {
|
if (m_pEventLog) {
|
||||||
rc = m_pEventLog->Show();
|
rc = m_pEventLog->Show();
|
||||||
if (m_pFrame) {
|
if (m_pFrame) {
|
||||||
|
|
Loading…
Reference in New Issue