mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-28 04:04:47 +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
|
return self.main_glade
|
||||||
|
|
||||||
def quit(self):
|
def quit(self):
|
||||||
if client.is_classicmode():
|
reactor.stop()
|
||||||
gtk.main_quit()
|
|
||||||
else:
|
|
||||||
reactor.stop()
|
|
||||||
|
|
||||||
def load_window_state(self):
|
def load_window_state(self):
|
||||||
x = self.config["window_x_pos"]
|
x = self.config["window_x_pos"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user