From faff8aa3031d985055c15c225904772092a234a2 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 2 Apr 2009 14:34:49 -0400 Subject: [PATCH] When toggling the breakpoints window, we also need to check to make sure if it's visible but not key * Source/AppDelegate.m: (showBreakpointWindow:): If the window is visible but not key, order it front --- Source/AppDelegate.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/AppDelegate.m b/Source/AppDelegate.m index c6dbe08..d1e2deb 100644 --- a/Source/AppDelegate.m +++ b/Source/AppDelegate.m @@ -78,7 +78,7 @@ */ - (IBAction)showBreakpointWindow:(id)sender { - if (![[breakpoint window] isVisible]) + if (![[breakpoint window] isVisible] || ![[breakpoint window] isKeyWindow]) [[breakpoint window] makeKeyAndOrderFront:sender]; else [[breakpoint window] orderOut:sender]; -- 2.22.5