1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 18:26:01 +02:00

follow-up forcthe output type edit functionality

This commit is contained in:
Mikhail Sennikovsky 2007-05-21 14:22:16 +00:00
parent cbf4f25769
commit 1d476a3cf9

View file

@ -2476,6 +2476,10 @@ public class Tool extends HoldsOptions implements ITool, IOptionCategory, IMatch
} }
private void setOutputPrefixForType(IOutputType type, String prefix){ private void setOutputPrefixForType(IOutputType type, String prefix){
if(prefix == null){
if(type.getParent() != this)
return;
}
type = getEdtableOutputType(type); type = getEdtableOutputType(type);
type.setOutputPrefix(prefix); type.setOutputPrefix(prefix);
setRebuildState(true); setRebuildState(true);