Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2014-09-15 04:27:19 -0400
committerTobias Schwarz2014-09-15 04:27:19 -0400
commita4161f07b61b99125cb55c09744a1a6a736cec51 (patch)
treec143deb47dbd6ecfaa5a7e4c51d27b0e5845aa08
parent31f117fe6d79f482a3d39122bff60e54674c0977 (diff)
downloadorg.eclipse.tcf-a4161f07b61b99125cb55c09744a1a6a736cec51.tar.gz
org.eclipse.tcf-a4161f07b61b99125cb55c09744a1a6a736cec51.tar.xz
org.eclipse.tcf-a4161f07b61b99125cb55c09744a1a6a736cec51.zip
Target Explorer: fix toolbar connect/disconnect button enablement
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/internal/SourceProvider.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/internal/SourceProvider.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/internal/SourceProvider.java
index a44785149..46e11250d 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/internal/SourceProvider.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/internal/SourceProvider.java
@@ -117,6 +117,7 @@ public class SourceProvider extends AbstractSourceProvider implements IEventList
@SuppressWarnings("synthetic-access")
@Override
public void run() {
+ fireSourceChanged(ISources.WORKBENCH, defaultContextSelectionName, IEvaluationContext.UNDEFINED_VARIABLE);
fireSourceChanged(ISources.WORKBENCH, defaultContextSelectionName, defaultContext != null ? defaultContext : IEvaluationContext.UNDEFINED_VARIABLE);
}
});

Back to the top