add multiple file selection for 'add torrent'
This commit is contained in:
parent
8649b4b973
commit
1f4665c189
|
@ -1129,7 +1129,8 @@ class DelugeGTK:
|
||||||
def add_torrent_clicked(self, obj=None):
|
def add_torrent_clicked(self, obj=None):
|
||||||
torrent = dialogs.show_file_open_dialog()
|
torrent = dialogs.show_file_open_dialog()
|
||||||
if torrent is not None:
|
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):
|
def add_torrent_url_clicked(self, obj=None):
|
||||||
dlg = gtk.Dialog(title=_("Add torrent from URL"), parent=self.window,
|
dlg = gtk.Dialog(title=_("Add torrent from URL"), parent=self.window,
|
||||||
|
|
Loading…
Reference in New Issue