mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07: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
|
// 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(){
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue