Fix uncaught exception when closing deluge in classic mode

This commit is contained in:
John Garland 2010-07-02 02:36:04 +10:00
parent 8fb7277a82
commit d9a2c4db72
2 changed files with 7 additions and 1 deletions

View File

@ -7,6 +7,9 @@
* #1307: Fix not being able to add torrents
* #1293: Fix not being able to add paths that contain backslashes
==== GtkUI ====
* Fix uncaught exception when closing deluge in classic mode
==== Execute ====
* #1306: Fix always executing last event

View File

@ -153,7 +153,10 @@ class MainWindow(component.Component):
return self.main_glade
def quit(self):
reactor.stop()
if client.is_classicmode():
gtk.main_quit()
else:
reactor.stop()
def load_window_state(self):
x = self.config["window_x_pos"]