summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcos Pinto <markybob@dipconsultants.com>2007-11-18 22:20:22 +0000
committerMarcos Pinto <markybob@dipconsultants.com>2007-11-18 22:20:22 +0000
commitb0f991b43c5f801b58febf40804ee96eadb15836 (patch)
tree9038276cedc0d7095fe3be143ef45b43c402fb12
parent61a4842beddca5279187ab1abd4b8c760c343f3e (diff)
downloaddeluge-b0f991b43c5f801b58febf40804ee96eadb15836.tar.gz
deluge-b0f991b43c5f801b58febf40804ee96eadb15836.tar.bz2
deluge-b0f991b43c5f801b58febf40804ee96eadb15836.zip
only popup file selection if torrent has more than 1 file
-rw-r--r--src/interface.py2
1 files changed, 1 insertions, 1 deletions
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,