diff --git a/deluge/ui/gtkui/systemtray.py b/deluge/ui/gtkui/systemtray.py index 4f1d733c1..55b34e39d 100644 --- a/deluge/ui/gtkui/systemtray.py +++ b/deluge/ui/gtkui/systemtray.py @@ -271,7 +271,7 @@ class SystemTray(component.Component): def on_menuitem_add_torrent_activate(self, menuitem): log.debug("on_menuitem_add_torrent_activate") from addtorrentdialog import AddTorrentDialog - client.add_torrent_file(AddTorrentDialog().run()) + client.add_torrent_file(AddTorrentDialog().show()) def on_menuitem_pause_all_activate(self, menuitem): log.debug("on_menuitem_pause_all_activate")