mirror of
https://github.com/codex-storage/deluge.git
synced 2025-03-03 12:30:45 +00:00
Destroy AddTorrentDialog window after clicking 'Add'.
This commit is contained in:
parent
f327290e33
commit
23840ce390
@ -407,6 +407,7 @@ class AddTorrentDialog:
|
|||||||
row = self.torrent_liststore.iter_next(row)
|
row = self.torrent_liststore.iter_next(row)
|
||||||
|
|
||||||
client.add_torrent_file(torrent_filenames, torrent_options)
|
client.add_torrent_file(torrent_filenames, torrent_options)
|
||||||
|
self.dialog.destroy()
|
||||||
|
|
||||||
def _on_button_apply_clicked(self, widget):
|
def _on_button_apply_clicked(self, widget):
|
||||||
log.debug("_on_button_apply_clicked")
|
log.debug("_on_button_apply_clicked")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user