diff --git a/src/main/java/com/sparrowwallet/sparrow/AppController.java b/src/main/java/com/sparrowwallet/sparrow/AppController.java index 5fd6ebc3..c57f266d 100644 --- a/src/main/java/com/sparrowwallet/sparrow/AppController.java +++ b/src/main/java/com/sparrowwallet/sparrow/AppController.java @@ -587,9 +587,11 @@ public class AppController implements Initializable { ); AppServices.moveToActiveWindowScreen(window, 800, 450); - File file = fileChooser.showOpenDialog(window); - if (file != null) { - openTransactionFile(file); + List files = fileChooser.showOpenMultipleDialog(window); + if(files != null) { + for(File file : files) { + openTransactionFile(file); + } } } @@ -1036,9 +1038,11 @@ public class AppController implements Initializable { fileChooser.setInitialDirectory(Storage.getWalletsDir()); AppServices.moveToActiveWindowScreen(window, 800, 450); - File file = fileChooser.showOpenDialog(window); - if(file != null) { - openWalletFile(file, forceSameWindow); + List files = fileChooser.showOpenMultipleDialog(window); + if(files != null) { + for(File file : files) { + openWalletFile(file, forceSameWindow); + } } }