Add torrent in interactive_add_torrent() only if we succefully passed all

checks.
This commit is contained in:
Alex Dedul 2007-07-18 19:18:59 +00:00
parent 8f96d9318a
commit 4e8fe33658
1 changed files with 2 additions and 2 deletions

View File

@ -1112,8 +1112,8 @@ class DelugeGTK:
dialogs.show_popup_warning(self.window, _("There is not enough free disk space to complete your download.") + "\n" + \
_("Space Needed:") + " " + nice_need + "\n" + \
_("Available Space:") + " " + nice_free)
self.torrent_model_append(unique_id)
else:
self.torrent_model_append(unique_id)
def launchpad(self, obj=None):
common.open_url_in_browser('https://translations.launchpad.net/deluge/trunk/+pots/deluge')