This commit is contained in:
Alexey Kudravtsev
2010-08-30 12:19:32 +04:00
parent 03a403cd29
commit b81d17a7e2
@@ -528,7 +528,7 @@ public class ShowUsagesAction extends AnAction {
}
public int getColumnCount() {
return data.get(0) instanceof UsageNode ? 3 : 1;
return !data.isEmpty() && data.get(0) instanceof UsageNode ? 3 : 1;
}
public Object getValueAt(int rowIndex, int columnIndex) {