mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Fix a crash when hitting "change save path" button and no torrent is selected
This commit is contained in:
parent
b2a0ddb9b1
commit
6f69ab2b6d
1 changed files with 1 additions and 0 deletions
|
@ -568,6 +568,7 @@ bool PropertiesWidget::applyPriorities() {
|
|||
|
||||
|
||||
void PropertiesWidget::on_changeSavePathButton_clicked() {
|
||||
if(!h.is_valid()) return;
|
||||
QString dir;
|
||||
QDir saveDir(h.save_path());
|
||||
if(saveDir.exists()){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue