mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
parent
40e28930a4
commit
b55d4b1733
10 changed files with 86 additions and 7 deletions
|
@ -517,10 +517,17 @@ window.qBittorrent.ContextMenu = (function() {
|
|||
if ((id != CATEGORIES_ALL) && (id != CATEGORIES_UNCATEGORIZED)) {
|
||||
this.showItem('editCategory');
|
||||
this.showItem('deleteCategory');
|
||||
if (useSubcategories) {
|
||||
this.showItem('createSubcategory');
|
||||
}
|
||||
else {
|
||||
this.hideItem('createSubcategory');
|
||||
}
|
||||
}
|
||||
else {
|
||||
this.hideItem('editCategory');
|
||||
this.hideItem('deleteCategory');
|
||||
this.hideItem('createSubcategory');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue