mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not show view link if no value text is available
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ class XDebuggerTreeRenderer extends ColoredTreeCellRenderer {
|
||||
// text does not fit visible area - show link
|
||||
if (node instanceof XValueNodeImpl) {
|
||||
final String rawValue = DebuggerUIUtil.getNodeRawValue((XValueNodeImpl)node);
|
||||
if (rawValue != null) {
|
||||
if (!StringUtil.isEmpty(rawValue)) {
|
||||
myLongTextLink.setupComponent(rawValue, ((XDebuggerTree)tree).getProject());
|
||||
append(myLongTextLink.getLinkText(), myLongTextLink.getTextAttributes(), myLongTextLink);
|
||||
setupLinkDimensions(treeVisibleRect, rowX);
|
||||
|
||||
Reference in New Issue
Block a user