Fix #902 cannot remove torrents
This commit is contained in:
parent
322495cfd5
commit
5a71e82875
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue