mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-14 00:37:58 +00:00
- Slightly improved pieces selection in torrent properties
This commit is contained in:
parent
7ce5d3f9fc
commit
b838038fe2
@ -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(){
|
||||
|
Loading…
Reference in New Issue
Block a user