From cb786824156a1ed94f2f4d3ad8d03f64b1cd2255 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Thu, 26 Feb 2009 03:42:14 +0000 Subject: [PATCH] Fix showing the preferences dialog when not connected to a daemon --- deluge/ui/gtkui/preferences.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deluge/ui/gtkui/preferences.py b/deluge/ui/gtkui/preferences.py index c248886d4..8a7ab1d2c 100644 --- a/deluge/ui/gtkui/preferences.py +++ b/deluge/ui/gtkui/preferences.py @@ -180,6 +180,8 @@ class Preferences(component.Component): # This starts a series of client.core requests prior to showing the window client.core.get_config().addCallback(_on_get_config) + else: + self._show() def _show(self): if self.core_config != {} and self.core_config != None: