From 23840ce390945af2acf5cc1d63196a0c0145b8b1 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sun, 20 Jan 2008 01:55:17 +0000 Subject: [PATCH] Destroy AddTorrentDialog window after clicking 'Add'. --- deluge/ui/gtkui/addtorrentdialog.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deluge/ui/gtkui/addtorrentdialog.py b/deluge/ui/gtkui/addtorrentdialog.py index a6b555b6f..3c10f1584 100644 --- a/deluge/ui/gtkui/addtorrentdialog.py +++ b/deluge/ui/gtkui/addtorrentdialog.py @@ -407,6 +407,7 @@ class AddTorrentDialog: row = self.torrent_liststore.iter_next(row) client.add_torrent_file(torrent_filenames, torrent_options) + self.dialog.destroy() def _on_button_apply_clicked(self, widget): log.debug("_on_button_apply_clicked")