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

OLC properties render fix (md search results)

上级 ce7ba958
......@@ -359,9 +359,11 @@ public abstract class ObjectListControl<OBJECT_TYPE> extends ProgressPageControl
Object object = getObjectValue(item);
if (object != null && !classList.contains(object.getClass())) {
// Remove all base classes if we have sub class
// But keep interfaces because we may have multiple implementations of e.g. DBPNamedObject
// and we need to show "Name" instead of particular name props
for (int i = 0; i < classList.size(); i++) {
Class<?> c = classList.get(i);
if (c.isAssignableFrom(object.getClass())) {
if (!c.isInterface() && c.isAssignableFrom(object.getClass())) {
classList.remove(i);
} else {
i++;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册