keep labels in order added, rather than alphabetically (#3271)

This commit is contained in:
Viacheslav Chimishuk
2022-06-17 01:08:42 +03:00
committed by GitHub
parent 06e5767234
commit 0397176c10
4 changed files with 14 additions and 8 deletions

View File

@@ -979,7 +979,7 @@ static char const* setLabels(tr_torrent* tor, tr_variant* list)
return errmsg;
}
tor->setLabels(std::data(labels), std::size(labels));
tor->setLabels(labels);
return nullptr;
}