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:
parent
40b0ef8dbb
commit
5deee229dd
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue