mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
[277057] - check for dialog ok, patch
This commit is contained in:
parent
ccca4b5501
commit
1d1820c83b
1 changed files with 5 additions and 3 deletions
|
@ -116,9 +116,11 @@ public class GDBJtagDebuggerTab extends AbstractLaunchConfigurationTab {
|
|||
}
|
||||
|
||||
private void variablesButtonSelected(Text text) {
|
||||
StringVariableSelectionDialog dialog = new StringVariableSelectionDialog(getShell());
|
||||
dialog.open();
|
||||
text.append(dialog.getVariableExpression());
|
||||
StringVariableSelectionDialog dialog = new StringVariableSelectionDialog(
|
||||
getShell());
|
||||
if (dialog.open() == StringVariableSelectionDialog.OK) {
|
||||
text.append(dialog.getVariableExpression());
|
||||
}
|
||||
}
|
||||
|
||||
private void createCommandControl(Composite parent) {
|
||||
|
|
Loading…
Add table
Reference in a new issue