Skip to content

Commit

Permalink
Merge pull request #11865 from shemanaev/fix/webui-files-rename
Browse files Browse the repository at this point in the history
WebUI: Fix first row renaming in files tab
  • Loading branch information
glassez committed Jan 14, 2020
2 parents 101ab3c + a7eb792 commit 990e451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webui/www/private/scripts/prop-files.js
Expand Up @@ -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);
Expand Down

0 comments on commit 990e451

Please sign in to comment.