- string const file = fl_get_input(dialog_->input_filename);
- if (controller().fileExists(file))
- controller().params().cparams.setContents(file);
- else
- controller().params().cparams.setContents("");
+ params.preview(fl_get_button(dialog_->check_preview));
+ params.setContents(getString(dialog_->input_filename));