diff --git a/resources/langs/nheko_en.ts b/resources/langs/nheko_en.ts
index d0197fea..52f57a0c 100644
--- a/resources/langs/nheko_en.ts
+++ b/resources/langs/nheko_en.ts
@@ -1395,8 +1395,8 @@ You may optionally provide a reason for others to accept your knock:InputBar
-
- Select a file
+
+ Select file(s)
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp
index 3a626a3c..dd6813c2 100644
--- a/src/timeline/InputBar.cpp
+++ b/src/timeline/InputBar.cpp
@@ -417,13 +417,14 @@ void
InputBar::openFileSelection()
{
const QString homeFolder = QStandardPaths::writableLocation(QStandardPaths::HomeLocation);
- const auto fileName =
- QFileDialog::getOpenFileName(nullptr, tr("Select a file"), homeFolder, tr("All Files (*)"));
+ const QStringList fileNames =
+ QFileDialog::getOpenFileNames(nullptr, tr("Select file(s)"), homeFolder, tr("All Files (*)"));
- if (fileName.isEmpty())
+ if (fileNames.isEmpty())
return;
- startUploadFromPath(fileName);
+ for (const auto &fileName : fileNames)
+ startUploadFromPath(fileName);
}
QString