Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2014-11-17 12:42:38 +0000
committerTobias Schwarz2014-11-17 12:42:38 +0000
commit06019e479816cd0323f38750a4711749e5bbfd1c (patch)
treed9b8bf2ed8f49488321099685bfda90516fdcd3e /target_explorer
parentd44cc27c9c79bc48954a751e92114b0d2f67fdae (diff)
downloadorg.eclipse.tcf-06019e479816cd0323f38750a4711749e5bbfd1c.tar.gz
org.eclipse.tcf-06019e479816cd0323f38750a4711749e5bbfd1c.tar.xz
org.eclipse.tcf-06019e479816cd0323f38750a4711749e5bbfd1c.zip
SM: do not execute connect on finish when peernode is not valid
Diffstat (limited to 'target_explorer')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/wizards/AbstractNewConfigWizard.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/wizards/AbstractNewConfigWizard.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/wizards/AbstractNewConfigWizard.java
index 0ce4921a8..5312a836b 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/wizards/AbstractNewConfigWizard.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/wizards/AbstractNewConfigWizard.java
@@ -91,7 +91,7 @@ public abstract class AbstractNewConfigWizard extends AbstractWizard implements
service.generateSourcePathMappings(peerNode);
}
- if (connect.get()) {
+ if (connect.get() && peerNode.isValid()) {
peerNode.changeConnectState(IConnectable.ACTION_CONNECT, null, null);
}
}

Back to the top