Show files selection dialog even for single file torrents.

This commit is contained in:
Alex Dedul 2007-07-24 22:50:03 +00:00
parent 09c430f05a
commit 150a1a8a46
1 changed files with 1 additions and 2 deletions

View File

@ -1097,8 +1097,7 @@ class DelugeGTK:
try:
dumped_torrent = self.manager.dump_torrent_file_info(torrent)
if self.config.get('enable_files_dialog') and \
len(dumped_torrent) > 1:
if self.config.get('enable_files_dialog'):
files_dialog = dialogs.FilesDlg(dumped_torrent)
if files_dialog.show() == 1:
unique_id = self.manager.add_torrent(torrent, path,