From ec760ca0d45f4a727b0ae0273d764cafef33149f Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Sun, 6 Jun 2021 14:48:58 +0100 Subject: [PATCH] Allow adding more than one file at a time --- app/musicmuster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/musicmuster.py b/app/musicmuster.py index 97481ed..333ec08 100755 --- a/app/musicmuster.py +++ b/app/musicmuster.py @@ -64,7 +64,7 @@ class Window(QMainWindow, Ui_MainWindow): def add_file(self): dlg = QFileDialog() - dlg.setFileMode(QFileDialog.ExistingFile) + dlg.setFileMode(QFileDialog.ExistingFiles) dlg.setViewMode(QFileDialog.Detail) dlg.setDirectory(Config.ROOT) dlg.setNameFilter("Music files (*.flac *.mp3)")