1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 06:05:24 +02:00

bug 289448: Tool Settings File field editor incorrectly draws focus.

Patch from Wieant <wieant@tasking.com>
This commit is contained in:
Andrew Gvozdev 2009-09-15 14:11:06 +00:00
parent eefe7f459b
commit fda133c743

View file

@ -163,7 +163,17 @@ public class BuildOptionSettingsUI extends AbstractToolSettingUI {
} break;
case IOption.BROWSE_FILE: {
stringField = new FileFieldEditor(optId, TextProcessor.process(opt.getName()), fieldEditorParent);
stringField = new FileFieldEditor(optId, TextProcessor.process(opt.getName()), fieldEditorParent) {
/**
* Do not perform validity check on the file name due to losing focus,
* see http://bugs.eclipse.org/289448
*/
@Override
protected boolean checkState() {
clearErrorMessage();
return true;
}
};
} break;
case IOption.BROWSE_NONE: {