mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
parent
e06b7f8f4d
commit
6df1f68ead
3 changed files with 50 additions and 31 deletions
|
@ -295,7 +295,7 @@ const initializeWindows = function() {
|
|||
// check if all selected torrents have same share ratio
|
||||
for (let i = 0; i < hashes.length; ++i) {
|
||||
const hash = hashes[i];
|
||||
const row = torrentsTable.rows[hash].full_data;
|
||||
const row = torrentsTable.rows.get(hash).full_data;
|
||||
const origValues = row.ratio_limit + "|" + row.seeding_time_limit + "|" + row.inactive_seeding_time_limit + "|"
|
||||
+ row.max_ratio + "|" + row.max_seeding_time + "|" + row.max_inactive_seeding_time;
|
||||
|
||||
|
@ -522,7 +522,7 @@ const initializeWindows = function() {
|
|||
if (hashes.length) {
|
||||
let enable = false;
|
||||
hashes.each((hash, index) => {
|
||||
const row = torrentsTable.rows[hash];
|
||||
const row = torrentsTable.rows.get(hash);
|
||||
if (!row.full_data.auto_tmm)
|
||||
enable = true;
|
||||
});
|
||||
|
@ -570,7 +570,7 @@ const initializeWindows = function() {
|
|||
const hashes = torrentsTable.selectedRowsIds();
|
||||
if (hashes.length) {
|
||||
const hash = hashes[0];
|
||||
const row = torrentsTable.rows[hash];
|
||||
const row = torrentsTable.rows.get(hash);
|
||||
|
||||
new MochaUI.Window({
|
||||
id: "setLocationPage",
|
||||
|
@ -593,7 +593,7 @@ const initializeWindows = function() {
|
|||
const hashes = torrentsTable.selectedRowsIds();
|
||||
if (hashes.length === 1) {
|
||||
const hash = hashes[0];
|
||||
const row = torrentsTable.rows[hash];
|
||||
const row = torrentsTable.rows.get(hash);
|
||||
if (row) {
|
||||
new MochaUI.Window({
|
||||
id: "renamePage",
|
||||
|
@ -617,7 +617,7 @@ const initializeWindows = function() {
|
|||
const hashes = torrentsTable.selectedRowsIds();
|
||||
if (hashes.length === 1) {
|
||||
const hash = hashes[0];
|
||||
const row = torrentsTable.rows[hash];
|
||||
const row = torrentsTable.rows.get(hash);
|
||||
if (row) {
|
||||
new MochaUI.Window({
|
||||
id: "multiRenamePage",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue