mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-10 17:55:39 +02:00
Cosmetics.
This commit is contained in:
parent
0391ede740
commit
6b9291e199
1 changed files with 4 additions and 4 deletions
|
@ -136,7 +136,7 @@ public class AddSourceContainerDialog extends TitleAreaDialog {
|
|||
* @see org.eclipse.jface.dialogs.Dialog#okPressed()
|
||||
*/
|
||||
protected void okPressed() {
|
||||
//single selection dialog, so take first item in array
|
||||
// Single selection dialog, so take first item in array
|
||||
// there will always be a selected item since we set it with viewer.setSelection
|
||||
ISourceContainerType type = (ISourceContainerType) ((StructuredSelection) fViewer.getSelection()).getFirstElement();
|
||||
ISourceContainerBrowser browser = DebugUITools.getSourceContainerBrowser(type.getId());
|
||||
|
|
Loading…
Add table
Reference in a new issue