提交 e671bbaf 编写于 作者: S serge-rider

#9327 Boolean value manager + transformed columns value type detect fix


Former-commit-id: 27e8f5a1
上级 24b55d7b
......@@ -59,6 +59,9 @@ public class BitInlineEditor extends BaseValueEditor<Combo> {
@Override
public void primeEditorValue(@Nullable Object value) throws DBException
{
if (value instanceof Number) {
value = ((Number) value).byteValue() != 0;
}
control.setText(value == null ? DBConstants.NULL_VALUE_LABEL : value.toString()); //$NON-NLS-1$
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册