1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 16:28:51 -05:00

wait for UI to startup completely before loading more classes

This commit is contained in:
Reinhard Pointner 2016-05-28 16:06:27 +08:00
parent a6e44febfd
commit d1691f5718

View File

@ -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();