mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-14 05:26:28 +00:00
Fix hang when quitting in classic mode
This commit is contained in:
parent
bc5aa1bf71
commit
e025b6b9db
@ -153,10 +153,7 @@ class MainWindow(component.Component):
|
||||
return self.main_glade
|
||||
|
||||
def quit(self):
|
||||
if client.is_classicmode():
|
||||
gtk.main_quit()
|
||||
else:
|
||||
reactor.stop()
|
||||
reactor.stop()
|
||||
|
||||
def load_window_state(self):
|
||||
x = self.config["window_x_pos"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user