From 3ce02b7000926517dc6349edf4e2bfeefb4ca7a4 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 4 Dec 2016 21:54:12 -0500 Subject: [PATCH] Fix up Eval after moving it into the debugger. - Unconditionally validate the main menu item. - Remove the close button from the XIB. --- English.lproj/Eval.xib | 18 ++++-------------- Source/DebuggerController.m | 3 +-- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/English.lproj/Eval.xib b/English.lproj/Eval.xib index 212df7e..5ae3b7a 100644 --- a/English.lproj/Eval.xib +++ b/English.lproj/Eval.xib @@ -1,8 +1,9 @@ - + - + + @@ -66,20 +67,9 @@ DQ - - + diff --git a/Source/DebuggerController.m b/Source/DebuggerController.m index a5765e7..ec00ad5 100644 --- a/Source/DebuggerController.m +++ b/Source/DebuggerController.m @@ -168,8 +168,7 @@ } else if (action == @selector(stepIn:) || action == @selector(stepOver:) || action == @selector(run:) || - action == @selector(stop:) || - action == @selector(showEvalWindow:)) { + action == @selector(stop:)) { return _model.connected; } return [[self window] validateUserInterfaceItem:anItem]; -- 2.43.5