mirror of
https://github.com/transmission/transmission
synced 2025-01-03 05:25:52 +00:00
fix: mark torrent as changed when setting location (#6355)
This commit is contained in:
parent
4506d20136
commit
7fa318c283
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue