Tasks. Not show changelist's icon for local task.

This commit is contained in:
Evgeny Zakrevsky
2012-11-09 21:29:21 +04:00
parent 12697600dc
commit 0a0fda91e7
@@ -814,7 +814,7 @@ public class TaskManagerImpl extends TaskManager implements ProjectComponent, Pe
public void decorateChangeList(LocalChangeList changeList, ColoredTreeCellRenderer cellRenderer, boolean selected,
boolean expanded, boolean hasFocus) {
LocalTask task = getAssociatedTask(changeList);
if (task != null) {
if (task != null && task.isIssue()) {
cellRenderer.setIcon(task.getIcon());
}
}