diff options
| author | Dawid Pakuła | 2018-06-19 12:18:17 +0000 |
|---|---|---|
| committer | Karsten Thoms | 2018-07-14 21:21:42 +0000 |
| commit | cf6dfe73f337fbc5c21d8f045961d7b092a063dd (patch) | |
| tree | fda2da16c2ed4d3e3c4656dafa8cf7244192d602 | |
| parent | 7f06c7e03ba39bcc1668f831b4dd79b9684078be (diff) | |
| download | eclipse.platform.ui-cf6dfe73f337fbc5c21d8f045961d7b092a063dd.tar.gz eclipse.platform.ui-cf6dfe73f337fbc5c21d8f045961d7b092a063dd.tar.xz eclipse.platform.ui-cf6dfe73f337fbc5c21d8f045961d7b092a063dd.zip | |
Bug 505988 - [Project Explorer] Navigation buttons disappear after working set switch
Update upAction and actionbars after P_RESET
Change-Id: I58c629b8b6b1bd19ea01751819d1ebdac5898ec3
Signed-off-by: Dawid Pakuła <zulus@w3des.net>
| -rw-r--r-- | bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/CommonNavigatorActionGroup.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/CommonNavigatorActionGroup.java b/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/CommonNavigatorActionGroup.java index a050a408126..66106cef7ff 100644 --- a/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/CommonNavigatorActionGroup.java +++ b/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/CommonNavigatorActionGroup.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2003, 2015 IBM Corporation and others. + * Copyright (c) 2003, 2018 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -111,10 +111,13 @@ public class CommonNavigatorActionGroup extends ActionGroup implements IMementoA upAction.setEnabled(false); backAction.setEnabled(false); forwardAction.setEnabled(false); + + upAction.update(); } commonNavigator.updateTitle(); IActionBars actionBars= commonNavigator.getViewSite().getActionBars(); updateToolBar(actionBars.getToolBarManager()); + actionBars.updateActionBars(); } }); |
