1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-14 08:48:17 +00:00

- Slightly improved pieces selection in torrent properties

This commit is contained in:
Christophe Dumez 2006-12-27 21:58:38 +00:00
parent 7ce5d3f9fc
commit b838038fe2

View File

@ -277,7 +277,9 @@ void properties::on_select_clicked(){
} }
} }
// Save filtered pieces to a file to remember them // Save filtered pieces to a file to remember them
saveFilteredFiles(); if(selectedIndexes.size() != 0){
saveFilteredFiles();
}
} }
void properties::on_okButton_clicked(){ void properties::on_okButton_clicked(){
@ -303,7 +305,9 @@ void properties::on_unselect_clicked(){
} }
} }
// Save filtered files to a file to remember them // Save filtered files to a file to remember them
saveFilteredFiles(); if(selectedIndexes.size() != 0){
saveFilteredFiles();
}
} }
void properties::saveFilteredFiles(){ void properties::saveFilteredFiles(){