mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 09:28:41 +00:00
don't need len()
This commit is contained in:
parent
5f888faceb
commit
d0346a104f
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ class AllTorrents(BaseMode):
|
||||||
|
|
||||||
def _show_torrent_actions_popup(self):
|
def _show_torrent_actions_popup(self):
|
||||||
#cid = self._current_torrent_id()
|
#cid = self._current_torrent_id()
|
||||||
if len(self.marked):
|
if self.marked:
|
||||||
self.popup = SelectablePopup(self,"Torrent Actions",self._torrent_action)
|
self.popup = SelectablePopup(self,"Torrent Actions",self._torrent_action)
|
||||||
self.popup.add_line("_Pause",data=ACTION.PAUSE)
|
self.popup.add_line("_Pause",data=ACTION.PAUSE)
|
||||||
self.popup.add_line("_Resume",data=ACTION.RESUME)
|
self.popup.add_line("_Resume",data=ACTION.RESUME)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue