Skip to content

Commit

Permalink
Prepared fix for issue #1093.
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsschmidt1337 committed Jul 29, 2024
1 parent dba893d commit 6df8904
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2395,7 +2395,10 @@ public void run(final IProgressMonitor monitor) throws InvocationTargetException
}

monitor.beginTask(fileName3, IProgressMonitor.UNKNOWN);
Display.getCurrent().readAndDispatch();

// This 'readAndDispatch' does not work on Mac OS X! Why? :(
if (!Cocoa.IS_COCOA) Display.getCurrent().readAndDispatch();

dfsToOpen.add(df);
df.setText(source3);
// Add / remove from unsaved files is mandatory!
Expand Down

0 comments on commit 6df8904

Please sign in to comment.