mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-03 10:25:02 +00: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
@ -524,7 +524,7 @@ window.qBittorrent.PropFiles = (function() {
|
|||||||
const hash = torrentsTable.getCurrentTorrentHash();
|
const hash = torrentsTable.getCurrentTorrentHash();
|
||||||
if (!hash) return;
|
if (!hash) return;
|
||||||
const rowId = torrentFilesTable.selectedRowsIds()[0];
|
const rowId = torrentFilesTable.selectedRowsIds()[0];
|
||||||
if (!rowId) return;
|
if (rowId === undefined) return;
|
||||||
const row = torrentFilesTable.rows[rowId];
|
const row = torrentFilesTable.rows[rowId];
|
||||||
if (!row) return;
|
if (!row) return;
|
||||||
const node = torrentFilesTable.getNode(rowId);
|
const node = torrentFilesTable.getNode(rowId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user