mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 15:38:43 +00:00
only popup file selection if torrent has more than 1 file
This commit is contained in:
parent
61a4842bed
commit
b0f991b43c
1 changed files with 1 additions and 1 deletions
|
@ -1309,7 +1309,7 @@ window, please enter your password"))
|
||||||
|
|
||||||
try:
|
try:
|
||||||
dumped_torrent = self.manager.dump_torrent_file_info(torrent)
|
dumped_torrent = self.manager.dump_torrent_file_info(torrent)
|
||||||
if self.config.get('enable_files_dialog'):
|
if (self.config.get('enable_files_dialog')) and (len(dumped_torrent) > 1):
|
||||||
files_dialog = dialogs.FilesDlg(dumped_torrent)
|
files_dialog = dialogs.FilesDlg(dumped_torrent)
|
||||||
if files_dialog.show(self.window) == 1:
|
if files_dialog.show(self.window) == 1:
|
||||||
unique_id = self.manager.add_torrent(torrent, path,
|
unique_id = self.manager.add_torrent(torrent, path,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue