1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 06:05:24 +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 (initial == null || !selected.equals(initial)) {
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());
initial = selected;
}