mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-05 16:13:41 +00:00
Fix hang when quitting in classic mode
This commit is contained in:
parent
bc5aa1bf71
commit
e025b6b9db
@ -153,9 +153,6 @@ class MainWindow(component.Component):
|
|||||||
return self.main_glade
|
return self.main_glade
|
||||||
|
|
||||||
def quit(self):
|
def quit(self):
|
||||||
if client.is_classicmode():
|
|
||||||
gtk.main_quit()
|
|
||||||
else:
|
|
||||||
reactor.stop()
|
reactor.stop()
|
||||||
|
|
||||||
def load_window_state(self):
|
def load_window_state(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user