fix move_completed sensitivity

This commit is contained in:
Calum Lind 2018-10-13 09:52:22 +01:00
parent bcc89c73dd
commit 1d0e40c66b
1 changed files with 3 additions and 0 deletions

View File

@ -415,6 +415,9 @@ class AddTorrentDialog(component.Component):
self.builder.get_object('chk_move_completed').set_active( self.builder.get_object('chk_move_completed').set_active(
self.core_config['move_completed'] self.core_config['move_completed']
) )
self.move_completed_path_chooser.set_sensitive(
self.core_config['move_completed']
)
def setup_move_completed_path_chooser(self): def setup_move_completed_path_chooser(self):
self.move_completed_hbox = self.builder.get_object( self.move_completed_hbox = self.builder.get_object(