Skip to content

Commit

Permalink
Fix equals vs ==
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez committed Sep 26, 2016
1 parent 81a87ad commit ffa3299
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -408,7 +408,7 @@ private void showIconRightClickMenu(MouseEvent e, int row, MainTableColumn colum
}
menu.add(new ExternalFileMenuItem(panel.frame(), entry, content.get(), content.get(), icon,
panel.getBibDatabaseContext(), field));
if (field == FieldName.DOI) {
if (field.equals(FieldName.DOI)) {
menu.add(new CopyDoiUrlAction(content.get()));
}
showDefaultPopup = false;
Expand Down

0 comments on commit ffa3299

Please sign in to comment.