From 7f99932481d68283a9787280344dc4e6bfe8afd6 Mon Sep 17 00:00:00 2001 From: David McKnight Date: Tue, 23 May 2006 15:26:35 +0000 Subject: [PATCH] fix for 142978 --- .../eclipse/rse/shells/ui/view/CommandsViewWorkbook.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rse/plugins/org.eclipse.rse.shells.ui/src/org/eclipse/rse/shells/ui/view/CommandsViewWorkbook.java b/rse/plugins/org.eclipse.rse.shells.ui/src/org/eclipse/rse/shells/ui/view/CommandsViewWorkbook.java index 784a7ad0bb9..ab0056d77df 100644 --- a/rse/plugins/org.eclipse.rse.shells.ui/src/org/eclipse/rse/shells/ui/view/CommandsViewWorkbook.java +++ b/rse/plugins/org.eclipse.rse.shells.ui/src/org/eclipse/rse/shells/ui/view/CommandsViewWorkbook.java @@ -132,7 +132,7 @@ public class CommandsViewWorkbook extends Composite CommandsViewPage page = getCurrentTabItem(); if (page != null) { - page.setFocus(); + // page.setFocus(); return page.getInput(); } @@ -167,10 +167,14 @@ public class CommandsViewWorkbook extends Composite page.updateOutput(); + /* DKM - changing focus can get annoying + * see defect 142978 + * if (_folder.getSelectionIndex() != i) { _folder.setSelection(item); } + */ updateActionStates(); //page.setFocus(); return;