mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 14:12:30 -06:00
Fix "Select All/None" buttons in torrent properties
This commit is contained in:
@@ -558,7 +558,9 @@ public:
|
||||
public slots:
|
||||
void selectAll() {
|
||||
for(int i=0; i<rootItem->childCount(); ++i) {
|
||||
rootItem->child(i)->setPriority(NORMAL);
|
||||
TreeItem *child = rootItem->child(i);
|
||||
if(child->getPriority() == IGNORED)
|
||||
child->setPriority(NORMAL);
|
||||
}
|
||||
emit layoutChanged();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user