1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 17:56:01 +02:00

Bug 494207 - enable combo when remote button is selected

Change-Id: I47010d23cb0dc131ca46d1b8f1498ff79c67c44b
Signed-off-by: Greg Watson <g.watson@computer.org>
This commit is contained in:
Greg Watson 2016-05-20 15:10:31 -04:00
parent beb118fdf2
commit aac2a7c432
2 changed files with 3 additions and 1 deletions

View file

@ -13,7 +13,6 @@ package org.eclipse.remote.internal.core;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

View file

@ -109,6 +109,8 @@ public class RemoteConnectionWidget extends Composite {
handleNewRemoteConnectionSelected();
} else if (source == fLocalButton) {
handleButtonSelected();
} else if (source == fRemoteButton) {
handleButtonSelected();
}
}
}
@ -288,6 +290,7 @@ public class RemoteConnectionWidget extends Composite {
fRemoteButton = new Button(body, SWT.RADIO);
fRemoteButton.setText(Messages.RemoteConnectionWidget_Remote);
fRemoteButton.setLayoutData(new GridData());
fRemoteButton.addSelectionListener(fWidgetListener);
} else {
Label remoteLabel = new Label(body, SWT.NONE);
remoteLabel.setText(Messages.RemoteConnectionWidget_Connection_Name);