When toggling the breakpoints window, we also need to check to make sure if it's...
authorRobert Sesek <rsesek@bluestatic.org>
Thu, 2 Apr 2009 18:34:49 +0000 (14:34 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Thu, 2 Apr 2009 18:34:49 +0000 (14:34 -0400)
* Source/AppDelegate.m:
(showBreakpointWindow:): If the window is visible but not key, order it front

Source/AppDelegate.m

index c6dbe084ff203ae9dfe847ccef122c4ceb8b63c6..d1e2deb60e5ba6a8efb7cb33e11ef6bbdd358ecf 100644 (file)
@@ -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];