Mercurial > minori
diff src/gui/pages/torrents.cc @ 221:53211cb1e7f5
library: add initial library stuff
nice
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 08 Jan 2024 13:21:08 -0500 |
parents | 01d259b9c89f |
children | 2f5a9247e501 |
line wrap: on
line diff
--- a/src/gui/pages/torrents.cc Mon Jan 08 11:56:09 2024 -0500 +++ b/src/gui/pages/torrents.cc Mon Jan 08 13:21:08 2024 -0500 @@ -83,6 +83,10 @@ case Keys::SIZE: torrent.SetSize(Strings::HumanReadableSizeToBytes(value)); break; + case Keys::AUTHORIZED: + if (torrent.GetGroup().empty() && value != "N/A") + torrent.SetGroup(value); + break; default: break; }