add share_action_limit in param and make window bigger

This commit is contained in:
Mark Yu 2025-07-13 16:31:02 -04:00
commit 0df2a02bbb

View file

@ -382,7 +382,7 @@ const initializeWindows = () => {
const hash = hashes[i];
const row = torrentsTable.getRow(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}`;
+ `|${row.max_seeding_time}|${row.max_inactive_seeding_time}|${row.share_action_limit}`;
// initialize value
if (shareRatio === null)
@ -410,8 +410,8 @@ const initializeWindows = () => {
maximizable: false,
paddingVertical: 0,
paddingHorizontal: 0,
width: window.qBittorrent.Dialog.limitWidthToViewport(424),
height: 220
width: window.qBittorrent.Dialog.limitWidthToViewport(500),
height: 250
});
};