Wire DPI setting from resize step through to processing job

Add output_dpi field to JobConfig, ProcessingJob, and Preset.
Connect the DPI SpinRow in the resize step's advanced options to
update the config value.
This commit is contained in:
2026-03-06 15:41:25 +02:00
parent eb8da4b3e9
commit 1d33be1e3d
4 changed files with 12 additions and 0 deletions

View File

@@ -460,6 +460,12 @@ pub fn build_resize_page(state: &AppState) -> adw::NavigationPage {
jc.borrow_mut().resize_algorithm = row.selected();
});
}
{
let jc = state.job_config.clone();
dpi_row.connect_value_notify(move |row| {
jc.borrow_mut().output_dpi = row.value() as u32;
});
}
scrolled.set_child(Some(&content));