avoid exception

dbus-notify
Zlatin Balevsky 2022-06-11 20:57:27 +01:00
parent b5aa3d5b50
commit 96098bb2d9
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 2 additions and 0 deletions

View File

@ -681,6 +681,8 @@ class MainFrameModel {
break
}
}
if (index == -1)
return // TODO: investigate how this is possible
if (uiSettings.clearUploads) {
uploads.remove(index)
view.removeUploadsTableRow(index)