mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
Fix: Adding RSS rule with a new label doesn't add this label to UI.
This commit is contained in:
parent
f5c0cddea5
commit
2442411a5e
6 changed files with 16 additions and 2 deletions
|
@ -1595,6 +1595,13 @@ void Preferences::setTorrentLabels(const QStringList& labels)
|
|||
setValue("TransferListFilters/customLabels", labels);
|
||||
}
|
||||
|
||||
void Preferences::addTorrentLabelExternal(const QString &label)
|
||||
{
|
||||
addTorrentLabel(label);
|
||||
QString toEmit = label;
|
||||
emit externalLabelAdded(toEmit);
|
||||
}
|
||||
|
||||
void Preferences::addTorrentLabel(const QString& label)
|
||||
{
|
||||
QStringList labels = value("TransferListFilters/customLabels").toStringList();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue