Fix #655 issue where default torrent options wouldn't be set for new
torrents added to the addtorrentdialog
This commit is contained in:
parent
5414276a16
commit
4965a903ac
@ -6,6 +6,7 @@
|
|||||||
* Fix hiding bottom pane when no tabs are enabled upon restart
|
* Fix hiding bottom pane when no tabs are enabled upon restart
|
||||||
* Fix saving file priorities when switching torrents in the addtorrentdialog
|
* Fix saving file priorities when switching torrents in the addtorrentdialog
|
||||||
* Fix the allocate mode not being preserved when selecting different torrents in addtorrentdialog
|
* Fix the allocate mode not being preserved when selecting different torrents in addtorrentdialog
|
||||||
|
* Fix #655 issue where default torrent options wouldn't be set for new torrents added to the addtorrentdialog
|
||||||
|
|
||||||
=== Deluge 1.1.3 - (15 February 2009) ===
|
=== Deluge 1.1.3 - (15 February 2009) ===
|
||||||
==== Core ====
|
==== Core ====
|
||||||
|
|||||||
@ -190,6 +190,8 @@ class AddTorrentDialog(component.Component):
|
|||||||
[info.info_hash, info.name, filename])
|
[info.info_hash, info.name, filename])
|
||||||
self.files[info.info_hash] = info.files
|
self.files[info.info_hash] = info.files
|
||||||
self.infos[info.info_hash] = info.metadata
|
self.infos[info.info_hash] = info.metadata
|
||||||
|
self.listview_torrents.get_selection().select_iter(new_row)
|
||||||
|
self.set_default_options()
|
||||||
self.save_torrent_options(new_row)
|
self.save_torrent_options(new_row)
|
||||||
|
|
||||||
(model, row) = self.listview_torrents.get_selection().get_selected()
|
(model, row) = self.listview_torrents.get_selection().get_selected()
|
||||||
@ -215,6 +217,8 @@ class AddTorrentDialog(component.Component):
|
|||||||
[info_hash, name, uri])
|
[info_hash, name, uri])
|
||||||
self.files[info_hash] = []
|
self.files[info_hash] = []
|
||||||
self.infos[info_hash] = None
|
self.infos[info_hash] = None
|
||||||
|
self.listview_torrents.get_selection().select_iter(new_row)
|
||||||
|
self.set_default_options()
|
||||||
self.save_torrent_options(new_row)
|
self.save_torrent_options(new_row)
|
||||||
|
|
||||||
(model, row) = self.listview_torrents.get_selection().get_selected()
|
(model, row) = self.listview_torrents.get_selection().get_selected()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user