Skip to content

Commit

Permalink
Backports fix for #104 that the JDialog for auto set links is openend…
Browse files Browse the repository at this point in the history
… and closed correctly
  • Loading branch information
simonharrer committed Sep 15, 2015
1 parent 276f003 commit cdf0ae8
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/main/java/net/sf/jabref/util/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -1902,9 +1902,18 @@ public void run() {
});
}
};
if (diag != null) {
diag.setVisible(true);
}

SwingUtilities.invokeLater(new Runnable() {

@Override
public void run() {
if (diag != null) {
diag.setVisible(true);
}
}

});

return r;
}

Expand Down

0 comments on commit cdf0ae8

Please sign in to comment.