- 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
saveFilteredFiles();
if(selectedIndexes.size() != 0){
saveFilteredFiles();
}
}
void properties::on_okButton_clicked(){
@ -303,7 +305,9 @@ void properties::on_unselect_clicked(){
}
}
// Save filtered files to a file to remember them
saveFilteredFiles();
if(selectedIndexes.size() != 0){
saveFilteredFiles();
}
}
void properties::saveFilteredFiles(){