Skip to content

WebAPI: Don't throw error on edit category#23847

Open
vafada wants to merge 4 commits intoqbittorrent:masterfrom
vafada:webui_edit-category-no-error
Open

WebAPI: Don't throw error on edit category#23847
vafada wants to merge 4 commits intoqbittorrent:masterfrom
vafada:webui_edit-category-no-error

Conversation

@vafada
Copy link
Contributor

@vafada vafada commented Feb 16, 2026

Closes #23845

Do not check the return value of BitTorrent::Session::instance()->setCategoryOptions()

This change replicates how the native client works:

connect(dialog, &TorrentCategoryDialog::accepted, parent, [dialog, categoryName]()
{
Session::instance()->setCategoryOptions(categoryName, dialog->categoryOptions());
});

@vafada vafada changed the title WebUI: fire and forget on edit category WebUI: Don't throw error on edit category Feb 16, 2026
@Chocobo1 Chocobo1 changed the title WebUI: Don't throw error on edit category WebAPI: Don't throw error on edit category Feb 17, 2026
@Chocobo1 Chocobo1 added the WebAPI WebAPI-related issues/changes label Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WebAPI WebAPI-related issues/changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Web UI] Edit Category: Don't show alert error when confirming without changes

2 participants