From b0f991b43c5f801b58febf40804ee96eadb15836 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sun, 18 Nov 2007 22:20:22 +0000 Subject: [PATCH] only popup file selection if torrent has more than 1 file --- src/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface.py b/src/interface.py index 66b1f1ed5..abe0182f1 100644 --- a/src/interface.py +++ b/src/interface.py @@ -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,