summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/pages/ScreenshotsPage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/pages/ScreenshotsPage.cpp b/application/pages/ScreenshotsPage.cpp
index a4ee6f9d..7d32576a 100644
--- a/application/pages/ScreenshotsPage.cpp
+++ b/application/pages/ScreenshotsPage.cpp
@@ -280,7 +280,7 @@ void ScreenshotsPage::on_viewFolderBtn_clicked()
void ScreenshotsPage::on_uploadBtn_clicked()
{
- auto selection = ui->listView->selectionModel()->selectedIndexes();
+ auto selection = ui->listView->selectionModel()->selectedRows();
if (selection.isEmpty())
return;