Skip to content
Snippets Groups Projects
Commit 78c8822f authored by tpylak's avatar tpylak
Browse files

minor: do not show empty tooltip in PlateLayouter

SVN: 19080
parent 0479567c
No related branches found
No related tags found
No related merge requests found
...@@ -126,7 +126,13 @@ public class PlateLayouter ...@@ -126,7 +126,13 @@ public class PlateLayouter
{ {
Component wellComponent = renderedWells[rowIx][colIx]; Component wellComponent = renderedWells[rowIx][colIx];
PlateStyleSetter.setBackgroudColor(wellComponent, color.getHexColor()); PlateStyleSetter.setBackgroudColor(wellComponent, color.getHexColor());
GWTUtils.setToolTip(wellComponent, tooltipOrNull); if (tooltipOrNull != null)
{
GWTUtils.setToolTip(wellComponent, tooltipOrNull);
} else
{
wellComponent.removeToolTip();
}
} }
public void updateLegend(Widget legend) public void updateLegend(Widget legend)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment