commit | 775b84e0983eaa74cdaa3aef3ec5ee80a5cc6f18 | [log] [tgz] |
---|---|---|
author | randyg <randyg> | Wed May 08 15:54:06 2002 +0000 |
committer | randyg <randyg> | Wed May 08 15:54:06 2002 +0000 |
tree | 37d7e9c753237a4db95d1d59f0ccf3acc53cbe4c | |
parent | 169e32e2385a60b811c5b16213f3ac3b9a1c3cb5 [diff] |
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,