mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 12:04:51 +00:00
Fix move storage dialog not closing
This commit is contained in:
parent
8920db694c
commit
bd119bccf4
1 changed files with 1 additions and 1 deletions
|
@ -356,6 +356,7 @@ class MenuBar(component.Component):
|
|||
def on_dialog_response_event(widget, response_id):
|
||||
def on_core_result(result):
|
||||
# Delete references
|
||||
self.move_storage_dialog.hide()
|
||||
del self.move_storage_dialog
|
||||
del self.move_storage_dialog_hbox
|
||||
|
||||
|
@ -366,7 +367,6 @@ class MenuBar(component.Component):
|
|||
client.core.move_storage(
|
||||
component.get("TorrentView").get_selected_torrents(), path
|
||||
).addCallback(on_core_result)
|
||||
self.move_storage_dialog.hide()
|
||||
|
||||
self.move_storage_dialog.connect("response", on_dialog_response_event)
|
||||
self.move_storage_dialog.show()
|
||||
|
|
Loading…
Add table
Reference in a new issue