1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-10 17:55:39 +02:00

fixed bug when setting selected parser.

This commit is contained in:
David Inglis 2003-09-16 18:35:43 +00:00
parent 40b0ef8dbb
commit 5deee229dd

View file

@ -91,7 +91,7 @@ public class BinaryParserBlock extends AbstractCOptionPage {
if (selected != null) { if (selected != null) {
if (initial == null || !selected.equals(initial)) { if (initial == null || !selected.equals(initial)) {
desc.remove(CCorePlugin.BINARY_PARSER_UNIQ_ID); desc.remove(CCorePlugin.BINARY_PARSER_UNIQ_ID);
desc.create(CCorePlugin.BINARY_PARSER_UNIQ_ID, (String) idMap.get(initial)); desc.create(CCorePlugin.BINARY_PARSER_UNIQ_ID, (String) idMap.get(selected));
CCorePlugin.getDefault().getCoreModel().resetBinaryParser(getContainer().getProject()); CCorePlugin.getDefault().getCoreModel().resetBinaryParser(getContainer().getProject());
initial = selected; initial = selected;
} }