Skip to content

Commit

Permalink
fix preview update (JabRef#2125)
Browse files Browse the repository at this point in the history
  • Loading branch information
chriba authored and zesaro committed Oct 27, 2016
1 parent 48ba0fe commit 1e44827
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,6 @@ public void listChanged(ListEvent<BibEntry> e) {
}

final BibEntry newSelected = selected.get(0);
if (Objects.nonNull(panel.getCurrentEditor()) && (newSelected == panel.getCurrentEditor().getEntry())) {
// is already selected
return;
}

if (newSelected != null) {
final BasePanelMode mode = panel.getMode(); // What is the panel already showing?
if ((mode == BasePanelMode.WILL_SHOW_EDITOR) || (mode == BasePanelMode.SHOWING_EDITOR)) {
Expand Down

0 comments on commit 1e44827

Please sign in to comment.