1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00

Bug 410821 - The process select dialog on "Attach" should react to

double-click

Change-Id: Ib34dfbda529dc8edf54c5f1e2e2435d003e697af
Reviewed-on: https://git.eclipse.org/r/14059
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
Marc Khouzam 2013-06-25 16:54:19 -04:00
parent 5aed22487a
commit 2e21d2516d

View file

@ -116,6 +116,17 @@ public class ProcessPrompterDialog extends TwoPaneElementSelector {
return list;
}
/*
* Allow a double-click to work without any selection
* in the bottom list.
*/
@Override
protected void handleDefaultSelected() {
if (validateCurrentSelection()) {
buttonPressed(IDialogConstants.OK_ID);
}
}
public NewExecutableInfo getExecutableInfo() {
return fExecInfo;
}