Fix #902 cannot remove torrents

This commit is contained in:
Andrew Resch 2009-04-26 18:27:46 +00:00
parent 322495cfd5
commit 5a71e82875
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ class MenuBar(component.Component):
torrent_ids = component.get("TorrentView").get_selected_torrents() torrent_ids = component.get("TorrentView").get_selected_torrents()
if torrent_ids: if torrent_ids:
from removetorrentdialog import RemoveTorrentDialog from removetorrentdialog import RemoveTorrentDialog
RemoveTorrentDialog().run() RemoveTorrentDialog(torrent_ids).run()
def on_menuitem_recheck_activate(self, data=None): def on_menuitem_recheck_activate(self, data=None):
log.debug("on_menuitem_recheck_activate") log.debug("on_menuitem_recheck_activate")