Browse Source

- Slightly improved pieces selection in torrent properties

adaptive-webui-19844
Christophe Dumez 18 years ago
parent
commit
b838038fe2
  1. 4
      src/properties_imp.cpp

4
src/properties_imp.cpp

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

Loading…
Cancel
Save