From f38e3e058105757671e441e04444a163d61d4300 Mon Sep 17 00:00:00 2001 From: David McKnight Date: Wed, 11 Oct 2006 20:00:15 +0000 Subject: [PATCH] potential fix for 160294 - check for input before updating action states --- .../eclipse/rse/shells/ui/view/SystemCommandsViewPart.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rse/plugins/org.eclipse.rse.shells.ui/src/org/eclipse/rse/shells/ui/view/SystemCommandsViewPart.java b/rse/plugins/org.eclipse.rse.shells.ui/src/org/eclipse/rse/shells/ui/view/SystemCommandsViewPart.java index c02b7fb1fe5..5da320d925b 100644 --- a/rse/plugins/org.eclipse.rse.shells.ui/src/org/eclipse/rse/shells/ui/view/SystemCommandsViewPart.java +++ b/rse/plugins/org.eclipse.rse.shells.ui/src/org/eclipse/rse/shells/ui/view/SystemCommandsViewPart.java @@ -779,7 +779,10 @@ public class SystemCommandsViewPart if (source == _folder.getFolder()) { - updateActionStates(); + if (_folder.getInput() != null) + { + updateActionStates(); + } } }