aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Georgi2012-07-18 15:13:58 (EDT)
committerPawel Piech2012-07-18 15:21:44 (EDT)
commit36c37e17406dde0b3aa2d2cee188e191eec57a0f (patch)
tree1e294f176f0a8fae76d9b5f3f503c65d9a6b0aa7
parent2c76624dc20f21fbb98f1ff90b372b820db5ec68 (diff)
downloadeclipse.platform.debug-36c37e17406dde0b3aa2d2cee188e191eec57a0f.zip
eclipse.platform.debug-36c37e17406dde0b3aa2d2cee188e191eec57a0f.tar.gz
eclipse.platform.debug-36c37e17406dde0b3aa2d2cee188e191eec57a0f.tar.bz2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java4
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 7a9502b..3a21e01 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)