use tab name when specified in popup

This commit is contained in:
Dennis Ushakov
2011-12-20 19:41:51 +04:00
parent 3bd52486ea
commit bcd9f23b7d
@@ -425,7 +425,7 @@ public class ToolWindowContentUi extends JPanel implements ContentUI, PropertyCh
@NotNull
@Override
public String getTextFor(Content value) {
final String displayName = value.getDisplayName();
final String displayName = value.getTabName();
return displayName != null ? displayName : "";
}