From 1f4665c1898e20557373658687a578d3f6acf9ae Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Tue, 26 Jun 2007 05:51:45 +0000 Subject: [PATCH] add multiple file selection for 'add torrent' --- src/interface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/interface.py b/src/interface.py index cc17942d5..46550122f 100644 --- a/src/interface.py +++ b/src/interface.py @@ -1129,7 +1129,8 @@ class DelugeGTK: def add_torrent_clicked(self, obj=None): torrent = dialogs.show_file_open_dialog() if torrent is not None: - self.interactive_add_torrent(torrent) + for single in torrent: + self.interactive_add_torrent(single) def add_torrent_url_clicked(self, obj=None): dlg = gtk.Dialog(title=_("Add torrent from URL"), parent=self.window,