mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
bugfix
This commit is contained in:
parent
1a53039d1a
commit
79c6fa470d
2 changed files with 4 additions and 3 deletions
|
@ -711,7 +711,7 @@ class Manager:
|
|||
if no_space:
|
||||
self.apply_queue()
|
||||
|
||||
return ret, no_space
|
||||
return (ret, no_space)
|
||||
|
||||
def get_queue_index(self, unique_ID):
|
||||
return self.state.queue.index(unique_ID)
|
||||
|
|
|
@ -877,8 +877,9 @@ class DelugeGTK:
|
|||
(unique_id, paused) = self.manager.add_torrent(torrent, path, False)
|
||||
# nice_need = dcommon.fsize(err.needed_space)
|
||||
# nice_free = dcommon.fsize(err.free_space)
|
||||
dgtk.show_popup_warning(self.window, _("There is not enough free space to complete this download.") + \
|
||||
_("Please ensure you have enough space available, then unpause the download."))
|
||||
if paused:
|
||||
dgtk.show_popup_warning(self.window, _("There is not enough free space to complete this download.") + \
|
||||
_("Please ensure you have enough space available, then unpause the download."))
|
||||
|
||||
if append:
|
||||
self.torrent_model.append(self.get_list_from_unique_id(unique_id))
|
||||
|
|
Loading…
Add table
Reference in a new issue