mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-26 03:06:37 +03:00
- Slightly improved pieces selection in torrent properties
This commit is contained in:
parent
7ce5d3f9fc
commit
b838038fe2
1 changed files with 6 additions and 2 deletions
|
@ -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 a new issue