mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 09:28:41 +00:00
Fix uncaught exception when closing deluge in classic mode
This commit is contained in:
parent
65b4f8c543
commit
131af5a50a
1 changed files with 4 additions and 1 deletions
|
@ -153,6 +153,9 @@ 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…
Add table
Add a link
Reference in a new issue