Skip to content

Commit

Permalink
Bug #143. Fix NPE in HeatMapPanel.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikekucera committed Nov 25, 2016
1 parent 34fdcf9 commit 5c8703a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@ private JPanel createExpressionLegendPanel() {
layout.setHorizontalGroup(hGroup);
layout.setVerticalGroup(vGroup);

if (this.currentExpressionSet2 != null && !this.currentExpressionSet2.isEmpty()) {
if (params.isTwoDistinctExpressionSets()) {
ColorGradientWidget legend1 = ColorGradientWidget.getInstance("", hmParams.getTheme_ds1(),
hmParams.getRange_ds1(), true, ColorGradientWidget.LEGEND_POSITION.NA);
ColorGradientWidget legend2 = ColorGradientWidget.getInstance("", hmParams.getTheme_ds2(),
Expand Down

0 comments on commit 5c8703a

Please sign in to comment.