Null Option is not visible after screen loading #PL-6134

This commit is contained in:
Gleb Gorelov 2015-10-28 08:20:06 +00:00
parent af48258ef6
commit 3e48092c60

View File

@ -295,6 +295,7 @@ public class DesktopLookupField extends DesktopAbstractOptionsField<JComponent>
public void setNullOption(Object nullOption) {
this.nullOption = nullOption;
autoComplete.setFirstItem(new NullOption());
setValue(null);
optionsInitialized = false;
}