mirror of
https://github.com/transmission/transmission.git
synced 2026-04-17 23:54:19 +01:00
chore: backport recently active fixes (#6565)
* fix: mark torrent as changed when setting location (#6355) (cherry picked from commit7fa318c283) * fix: mark torrent as changed when stopping (#6405) (cherry picked from commit7c9e04d035)
This commit is contained in:
@@ -862,6 +862,7 @@ void torrentStop(tr_torrent* const tor)
|
||||
|
||||
tor->isRunning = false;
|
||||
tor->isStopping = false;
|
||||
tor->markChanged();
|
||||
|
||||
if (!tor->session->isClosing())
|
||||
{
|
||||
@@ -2400,6 +2401,7 @@ void tr_torrent::setDownloadDir(std::string_view path, bool is_new_torrent)
|
||||
{
|
||||
download_dir = path;
|
||||
markEdited();
|
||||
markChanged();
|
||||
setDirty();
|
||||
refreshCurrentDir();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user