We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4eec75 commit e51fcc6Copy full SHA for e51fcc6
src/webui/www/private/scripts/contextmenu.js
@@ -392,13 +392,15 @@ window.qBittorrent.ContextMenu ??= (() => {
392
const data = torrentsTable.getRow(selectedRows[0]).full_data;
393
const metadata_downloaded = !((data["state"] === "metaDL") || (data["state"] === "forcedMetaDL") || (data["total_size"] === -1));
394
395
+ this.showItem("rename");
396
// hide renameFiles when metadata hasn't been downloaded yet
397
metadata_downloaded
398
? this.showItem("renameFiles")
399
: this.hideItem("renameFiles");
400
}
401
else {
402
this.hideItem("renameFiles");
403
+ this.hideItem("rename");
404
405
406
if (all_are_downloaded) {
0 commit comments