Bug 15488  EditorActionBars and switching between perspectives problem
diff --git a/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java b/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java
index f8ffbc0..cac4c04 100644
--- a/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java
+++ b/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java
@@ -2075,6 +2075,10 @@
 			if (findView(id) != null)

 				activate(oldActivePart);

 		}

+	} else {

+		IEditorPart ed = editorMgr.getVisibleEditor();	

+		if (ed != null) 

+			actionSwitcher.updateTopEditor(ed);	

 	}

 	

 	// Update the Coolbar layout.  Do this after the part is activated,