mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 20:14:51 +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:
|
||||
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)
|
||||
if files_dialog.show(self.window) == 1:
|
||||
unique_id = self.manager.add_torrent(torrent, path,
|
||||
|
|
Loading…
Add table
Reference in a new issue