mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-07 17:08:42 +00:00
Fix uncaught exception when closing deluge in classic mode
This commit is contained in:
parent
8fb7277a82
commit
d9a2c4db72
2 changed files with 7 additions and 1 deletions
|
@ -7,6 +7,9 @@
|
||||||
* #1307: Fix not being able to add torrents
|
* #1307: Fix not being able to add torrents
|
||||||
* #1293: Fix not being able to add paths that contain backslashes
|
* #1293: Fix not being able to add paths that contain backslashes
|
||||||
|
|
||||||
|
==== GtkUI ====
|
||||||
|
* Fix uncaught exception when closing deluge in classic mode
|
||||||
|
|
||||||
==== Execute ====
|
==== Execute ====
|
||||||
* #1306: Fix always executing last event
|
* #1306: Fix always executing last event
|
||||||
|
|
||||||
|
|
|
@ -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