Allow resetting options

This commit is contained in:
Paul Rouget 2018-11-22 10:43:02 +01:00
parent 2b410acbf9
commit c97f068efa
2 changed files with 10 additions and 30 deletions

View file

@ -631,7 +631,7 @@ pub fn run_content_process(token: String) {
.unwrap();
let unprivileged_content = unprivileged_content_receiver.recv().unwrap();
opts::set_defaults(unprivileged_content.opts());
opts::set_options(unprivileged_content.opts());
PREFS.extend(unprivileged_content.prefs());
set_logger(unprivileged_content.script_to_constellation_chan().clone());