mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
fix: mark torrent as changed when setting location (#6355)
This commit is contained in:
@@ -2245,6 +2245,7 @@ size_t tr_torrentFindFileToBuf(tr_torrent const* tor, tr_file_index_t file_num,
|
||||
void tr_torrent::set_download_dir(std::string_view path, bool is_new_torrent)
|
||||
{
|
||||
download_dir_ = path;
|
||||
mark_changed();
|
||||
mark_edited();
|
||||
set_dirty();
|
||||
refresh_current_dir();
|
||||
|
||||
Reference in New Issue
Block a user