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:
parent
eefe7f459b
commit
fda133c743
1 changed files with 11 additions and 1 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Reference in a new issue