mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +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,7 +153,10 @@ class MainWindow(component.Component):
|
|||
return self.main_glade
|
||||
|
||||
def quit(self):
|
||||
reactor.stop()
|
||||
if client.is_classicmode():
|
||||
gtk.main_quit()
|
||||
else:
|
||||
reactor.stop()
|
||||
|
||||
def load_window_state(self):
|
||||
x = self.config["window_x_pos"]
|
||||
|
|
Loading…
Add table
Reference in a new issue