mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug #186227: fix
This commit is contained in:
parent
d97e3a583f
commit
6e582275f4
1 changed files with 4 additions and 5 deletions
|
@ -539,15 +539,14 @@ public class TemplatePreferencePage extends PreferencePage implements IWorkbench
|
|||
if (result == SWT.OK) {
|
||||
int itemSelected[] = table.getSelectionIndices();
|
||||
table.remove(itemSelected);
|
||||
|
||||
if (delItemNames != null) {
|
||||
sharedDefaults.deleteBackEndStorage(delItemNames);
|
||||
}
|
||||
}
|
||||
|
||||
else if (result == SWT.CANCEL)
|
||||
isDeleted = false;
|
||||
|
||||
if (delItemNames != null) {
|
||||
sharedDefaults.deleteBackEndStorage(delItemNames);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue