From 7c3a71ee32ea3e958a5273fb9e3a3387062bd150 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 1 May 2011 12:47:48 -0400 Subject: [PATCH] Only enable the Eval window button if connected to the debugger --- Source/DebuggerController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/DebuggerController.m b/Source/DebuggerController.m index 7c0f8f6..8aa5518 100644 --- a/Source/DebuggerController.m +++ b/Source/DebuggerController.m @@ -93,7 +93,8 @@ } else if (action == @selector(stepIn:) || action == @selector(stepOver:) || action == @selector(run:) || - action == @selector(stop:)) { + action == @selector(stop:) || + action == @selector(showEvalWindow:)) { return [connection isConnected]; } return [[self window] validateUserInterfaceItem:anItem]; -- 2.22.5