Add torrent in interactive_add_torrent() only if we succefully passed all
checks.
This commit is contained in:
parent
8f96d9318a
commit
4e8fe33658
@ -1112,8 +1112,8 @@ class DelugeGTK:
|
|||||||
dialogs.show_popup_warning(self.window, _("There is not enough free disk space to complete your download.") + "\n" + \
|
dialogs.show_popup_warning(self.window, _("There is not enough free disk space to complete your download.") + "\n" + \
|
||||||
_("Space Needed:") + " " + nice_need + "\n" + \
|
_("Space Needed:") + " " + nice_need + "\n" + \
|
||||||
_("Available Space:") + " " + nice_free)
|
_("Available Space:") + " " + nice_free)
|
||||||
|
else:
|
||||||
self.torrent_model_append(unique_id)
|
self.torrent_model_append(unique_id)
|
||||||
|
|
||||||
def launchpad(self, obj=None):
|
def launchpad(self, obj=None):
|
||||||
common.open_url_in_browser('https://translations.launchpad.net/deluge/trunk/+pots/deluge')
|
common.open_url_in_browser('https://translations.launchpad.net/deluge/trunk/+pots/deluge')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user