mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-30 14:58:50 +00:00
GUI: fix removing of attachments
This commit is contained in:
parent
a6afddc2f3
commit
be286bc185
@ -80,7 +80,7 @@ AttachmentModel::removeSelectedAttachments(QItemSelection const &selection) {
|
||||
auto sortedRowsToRemove = rowsToRemove.toList();
|
||||
std::sort(sortedRowsToRemove.begin(), sortedRowsToRemove.end(), std::greater<int>());
|
||||
|
||||
for (auto row : rowsToRemove)
|
||||
for (auto row : sortedRowsToRemove)
|
||||
removeRow(row);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user