Skip to content

Commit 0792f7a

Browse files
committed
Fix a deadlock.
1 parent 46af1a2 commit 0792f7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/view/legend/LegendPanelMediator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public void updateDialog(EMStyleOptions options, Collection<EMDataSet> filteredD
6666
@AfterInjection
6767
@SuppressWarnings("serial")
6868
private void init() {
69-
invokeOnEDTAndWait(() -> {
69+
invokeOnEDT(() -> {
7070
dialog = new JDialog(swingApplication.getJFrame(), "EnrichmentMap Legend", ModalityType.MODELESS);
7171
dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
7272
dialog.setMinimumSize(new Dimension(440, 380));

0 commit comments

Comments
 (0)