mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-01 13:25:45 +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;
|
} break;
|
||||||
|
|
||||||
case IOption.BROWSE_FILE: {
|
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;
|
} break;
|
||||||
|
|
||||||
case IOption.BROWSE_NONE: {
|
case IOption.BROWSE_NONE: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue