File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/main/java/at/gmi/nordborglab/widgets/geneviewer/client Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -515,10 +515,10 @@ public void onClick(ClickEvent event) {
515
515
track_container .clear ();
516
516
for (GenomeStat stat :genomeStats ) {
517
517
Image checkbox_image = new Image (mainRes .checkmark ());
518
- checkbox_image .setTitle ("Click to add/remove " + stat .getLabel ()+" statistics to the chart as new series" );
518
+ checkbox_image .setTitle ("Click to add/remove " + stat .getDisplayName ()+" statistics to the chart as new series" );
519
519
checkbox_image .setAltText (stat .getName ());
520
- Anchor link = new Anchor (stat .getLabel ());
521
- link .setTitle ("Click to display " + stat .getLabel ()+" statistics" );
520
+ Anchor link = new Anchor (stat .getDisplayName ());
521
+ link .setTitle ("Click to display " + stat .getDisplayName ()+" statistics" );
522
522
link .setName (stat .getName ());
523
523
FlowPanel panel = new FlowPanel ();
524
524
SimplePanel panel_names = new SimplePanel ();
@@ -636,6 +636,8 @@ private void initStatisticsChart() {
636
636
637
637
@ Override
638
638
public void onUnderlay (UnderlayEvent event ) {
639
+ if (!processing .isLoaded ())
640
+ return ;
639
641
int zoomStart = processing .getInstance ().getZoomStart ();
640
642
int zoomEnd = processing .getInstance ().getZoomEnd ();
641
643
event .canvas .save ();
You can’t perform that action at this time.
0 commit comments