Fix being able to select/deselect files in the add torrent dialog
This commit is contained in:
parent
85b1a86669
commit
71aebaffdf
|
@ -344,7 +344,8 @@ class AddTorrentDialog(component.Component):
|
|||
def save_torrent_options(self, row=None):
|
||||
# Keeps the torrent options dictionary up-to-date with what the user has
|
||||
# selected.
|
||||
if row is None and self.previous_selected_torrent and self.torrent_liststore.iter_is_valid(self.previous_selected_torrent):
|
||||
if row is None:
|
||||
if self.previous_selected_torrent and self.torrent_liststore.iter_is_valid(self.previous_selected_torrent):
|
||||
row = self.previous_selected_torrent
|
||||
else:
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue