We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64b1408 commit 990123dCopy full SHA for 990123d
enigma-swing/src/main/java/cuchaz/enigma/gui/elements/MenuBar.java
@@ -6,6 +6,7 @@
6
import java.io.IOException;
7
import java.nio.file.Files;
8
import java.nio.file.Path;
9
+import java.util.ArrayList;
10
import java.util.Arrays;
11
import java.util.List;
12
import java.util.Locale;
@@ -244,7 +245,7 @@ private void onOpenJarClicked() {
244
245
246
// checks if the file name corresponds to an existing file
247
if (paths.stream().allMatch(Files::exists)) {
- this.gui.getController().openJar(paths, gui.getController().project.getLibraryPaths());
248
+ this.gui.getController().openJar(paths, new ArrayList<>());
249
}
250
251
UiConfig.setLastSelectedDir(d.getCurrentDirectory().getAbsolutePath());
0 commit comments