Skip to content

Commit

Permalink
show "goto mate" only for mated variants
Browse files Browse the repository at this point in the history
  • Loading branch information
dror27 committed Nov 29, 2023
1 parent d11c776 commit 53e973d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/broad/igv/variant/VariantMenu.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public VariantMenu(final VariantTrack variantTrack, final Variant variant, Track
}

// goto mate
if ( variant != null ) {
if ( variant != null && variant.getAttributeAsString(VARIANT_ATTR_MATEID) != null ) {
addSeparator();
JMenuItem item = getGotoMateMenuItem(variant);
add(item);
Expand Down

0 comments on commit 53e973d

Please sign in to comment.