mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 06:58:42 +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
|
||||
|
||||
def quit(self):
|
||||
if client.is_classicmode():
|
||||
gtk.main_quit()
|
||||
else:
|
||||
reactor.stop()
|
||||
|
||||
def load_window_state(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue