diff --git a/src/webui/www/private/scripts/prop-files.js b/src/webui/www/private/scripts/prop-files.js index bd2a28e9b..5fc753f2c 100644 --- a/src/webui/www/private/scripts/prop-files.js +++ b/src/webui/www/private/scripts/prop-files.js @@ -524,7 +524,7 @@ window.qBittorrent.PropFiles = (function() { const hash = torrentsTable.getCurrentTorrentHash(); if (!hash) return; const rowId = torrentFilesTable.selectedRowsIds()[0]; - if (!rowId) return; + if (rowId === undefined) return; const row = torrentFilesTable.rows[rowId]; if (!row) return; const node = torrentFilesTable.getNode(rowId);