From d1691f5718c6040d227730bcc96dfc8409dedba2 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sat, 28 May 2016 16:06:27 +0800 Subject: [PATCH] wait for UI to startup completely before loading more classes --- source/net/filebot/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/Main.java b/source/net/filebot/Main.java index ba909069..4bc7be78 100644 --- a/source/net/filebot/Main.java +++ b/source/net/filebot/Main.java @@ -130,7 +130,7 @@ public class Main { } // wait for UI to startup completely before loading more classes - Thread.sleep(1000); + Thread.sleep(2000); // preload media.types (when loaded during DnD it will freeze the UI for a few hundred milliseconds) MediaTypes.getDefault();