diff options
author | Pawel Piech | 2012-08-08 16:50:25 +0000 |
---|---|---|
committer | Pawel Piech | 2012-08-08 16:50:25 +0000 |
commit | 82d29ef16cd358343a9211389a14cc86c18b3521 (patch) | |
tree | 1d3c99435fec8eda1ea749545eee8d0c9d5918ab | |
parent | 970a2117b0c862058ad51899a36e8f8a2989e3f4 (diff) | |
download | eclipse.platform.debug-82d29ef16cd358343a9211389a14cc86c18b3521.tar.gz eclipse.platform.debug-82d29ef16cd358343a9211389a14cc86c18b3521.tar.xz eclipse.platform.debug-82d29ef16cd358343a9211389a14cc86c18b3521.zip |
Bug 385400 - System property for debug toolbar visibility not initialized
Re-submitted commit with bug fix, with correct author.
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java index 7a9502b3a..3a21e0146 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java @@ -1412,6 +1412,10 @@ public class LaunchView extends AbstractDebugView * @see org.eclipse.ui.IPartListener2#partActivated(org.eclipse.ui.IWorkbenchPartReference) */ public void partActivated(IWorkbenchPartReference partRef) { + // Ensure that the system property matches the debug toolbar state. + // Bug 385400 + System.setProperty(IDebugUIConstants.DEBUG_VIEW_TOOBAR_VISIBLE, + Boolean.toString(isDebugToolbarShownInPerspective(getSite().getPage().getPerspective())) ); } /* (non-Javadoc) |