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:
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 (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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue