From 9b07ed4fe4f36483ac0e0fad0c266ddc98ff0ac1 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Thu, 30 Oct 2008 09:33:48 +0000 Subject: [PATCH] Adjust comments svn path=/trunk/boinc/; revision=16362 --- clientgui/BOINCGUIApp.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/clientgui/BOINCGUIApp.cpp b/clientgui/BOINCGUIApp.cpp index af047e704e..eb19627cd0 100644 --- a/clientgui/BOINCGUIApp.cpp +++ b/clientgui/BOINCGUIApp.cpp @@ -778,11 +778,12 @@ bool CBOINCGUIApp::SetActiveGUI(int iGUISelection, bool bShowWindow) { // Store the new frame for future use m_pFrame = pNewFrame; - // Hide the old one if it exists + // Hide the old one if it exists. We must do this + // after updating m_pFrame to prevent Mac OSX from + // hiding the application if (pOldFrame) pOldFrame->Hide(); - // Show the new frame if needed, and prevent Mac OSX from - // hiding the application + // Show the new frame if needed if (pNewFrame && bShowWindow) pNewFrame->Show(); // Delete the old one if it exists