NOISSUE use rows when uploading screenshots
Using all indexes was quadrupling the uploaded items.
This commit is contained in:
parent
8cf88ffc58
commit
140c31293c
@ -280,7 +280,7 @@ void ScreenshotsPage::on_viewFolderBtn_clicked()
|
|||||||
|
|
||||||
void ScreenshotsPage::on_uploadBtn_clicked()
|
void ScreenshotsPage::on_uploadBtn_clicked()
|
||||||
{
|
{
|
||||||
auto selection = ui->listView->selectionModel()->selectedIndexes();
|
auto selection = ui->listView->selectionModel()->selectedRows();
|
||||||
if (selection.isEmpty())
|
if (selection.isEmpty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user