Browse Source

Merge pull request #11865 from shemanaev/fix/webui-files-rename

WebUI: Fix first row renaming in files tab
adaptive-webui-19844
Vladimir Golovnev 5 years ago committed by GitHub
parent
commit
990e451765
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/webui/www/private/scripts/prop-files.js

2
src/webui/www/private/scripts/prop-files.js

@ -524,7 +524,7 @@ window.qBittorrent.PropFiles = (function() { @@ -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);

Loading…
Cancel
Save