mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 05:43:32 -07:00
Merge pull request #11865 from shemanaev/fix/webui-files-rename
WebUI: Fix first row renaming in files tab
This commit is contained in:
commit
990e451765
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue