mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[debugger] IDEA-363335 Show single icon when a descriptor provides it
GitOrigin-RevId: 092bbc60b8f43becf483d2201fec7ae800a63bd8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
03bd5715c8
commit
9f3e829ea6
@@ -142,7 +142,10 @@ public final class DebuggerTreeRenderer extends ColoredTreeCellRenderer {
|
||||
|
||||
final Icon valueIcon = valueDescriptor.getValueIcon();
|
||||
if (valueIcon != null) {
|
||||
nodeIcon = IconManager.getInstance().createRowIcon(nodeIcon, valueIcon);
|
||||
// Keep watch icon to make clear the source of a node, prefer the provided icon otherwise
|
||||
nodeIcon = nodeIcon == AllIcons.Debugger.Db_watch
|
||||
? IconManager.getInstance().createRowIcon(nodeIcon, valueIcon)
|
||||
: valueIcon;
|
||||
}
|
||||
return nodeIcon;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user