From 75d58e4fe8b98df0b84d700ca4e3c8792c47de68 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Tue, 5 May 2015 14:45:53 +0000 Subject: [PATCH] * see if async works (even though it breaks the logic) --- source/net/filebot/mac/MacAppUtilities.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/net/filebot/mac/MacAppUtilities.java b/source/net/filebot/mac/MacAppUtilities.java index d8d38c58..2d317e7c 100644 --- a/source/net/filebot/mac/MacAppUtilities.java +++ b/source/net/filebot/mac/MacAppUtilities.java @@ -42,8 +42,8 @@ public class MacAppUtilities { public static List NSOpenPanel_openPanel_runModal(String title, boolean multipleMode, boolean canChooseDirectories, boolean canChooseFiles, String[] allowedFileTypes) { List result = new ArrayList(); - System.out.println("before dispatch_sync"); - dispatch_sync(new Runnable() { + System.out.println("before dispatch_async"); + dispatch_async(new Runnable() { @Override public void run() { @@ -79,7 +79,7 @@ public class MacAppUtilities { } }); - System.out.println("after dispatch_sync"); + System.out.println("after dispatch_async"); return result; }