mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Fix the conversion of String options
This commit is contained in:
parent
b6d40feacd
commit
ce8300dbcd
1 changed files with 3 additions and 0 deletions
|
@ -371,6 +371,9 @@ class UpdateManagedProject12 {
|
||||||
configuration.setOption(tool, newOpt, bool.booleanValue());
|
configuration.setOption(tool, newOpt, bool.booleanValue());
|
||||||
break;
|
break;
|
||||||
case IOption.STRING:
|
case IOption.STRING:
|
||||||
|
String strVal = (String) optRef.getAttribute(IOption.DEFAULT_VALUE);
|
||||||
|
configuration.setOption(tool, newOpt, strVal);
|
||||||
|
break;
|
||||||
case IOption.ENUMERATED:
|
case IOption.ENUMERATED:
|
||||||
// This is going to be the human readable form of the enumerated value
|
// This is going to be the human readable form of the enumerated value
|
||||||
String name = (String) optRef.getAttribute(IOption.DEFAULT_VALUE);
|
String name = (String) optRef.getAttribute(IOption.DEFAULT_VALUE);
|
||||||
|
|
Loading…
Add table
Reference in a new issue