Fix "Set location" to be really applied

This commit is contained in:
Vladimir Golovnev (Glassez) 2022-03-21 11:58:37 +03:00
parent a4b606c6e9
commit 386f99cb1d
No known key found for this signature in database
GPG key ID: 52A2C7DEE2DFA6F7

View file

@ -342,7 +342,7 @@ void TransferListWidget::setSelectedTorrentsLocation()
return; return;
const Path newLocation {fileDialog->selectedFiles().constFirst()}; const Path newLocation {fileDialog->selectedFiles().constFirst()};
if (newLocation.exists()) if (!newLocation.exists())
return; return;
// Actually move storage // Actually move storage