diff --git a/src/core.py b/src/core.py index b8ba2e4f9..948805d9d 100644 --- a/src/core.py +++ b/src/core.py @@ -813,6 +813,8 @@ class Manager: unique_ID = deluge_core.add_torrent(torrent.filename, torrent.save_dir, torrent.compact) + # Apply per torrent prefs after torrent added to core + self.apply_prefs_per_torrent(unique_ID) except DelugeError, e: print "Error:", e self.state.torrents.remove(torrent) diff --git a/src/interface.py b/src/interface.py index 27a5cf871..c9d996123 100644 --- a/src/interface.py +++ b/src/interface.py @@ -1101,7 +1101,6 @@ class DelugeGTK: files_dialog.get_priorities()) if files_dialog.is_private_flag_checked(): self.manager.set_priv(unique_id, True) - self.manager.apply_prefs_per_torrent(unique_id) else: return else: