mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-05 00:25:56 +00:00
Fixed Starting app with parameters causing wrong GUI init
This commit is contained in:
@@ -2709,8 +2709,8 @@ public class Main {
|
||||
setSessionLoaded(true);
|
||||
String[] filesToOpen = CommandLineArgumentParser.parseArguments(args);
|
||||
if (filesToOpen != null && filesToOpen.length > 0) {
|
||||
initGui();
|
||||
View.execInEventDispatch(() -> {
|
||||
initGui();
|
||||
shouldCloseWhenClosingLoadingDialog = true;
|
||||
if (Configuration.allowOnlyOneInstance.get() && FirstInstance.openFiles(Arrays.asList(filesToOpen))) { //Try to open in first instance
|
||||
Main.exit();
|
||||
|
||||
Reference in New Issue
Block a user