diff options
| author | Rubén Beltrán del Río <jj@r.bdr.sh> | 2026-01-16 08:26:35 +0100 |
|---|---|---|
| committer | Rubén Beltrán del Río <jj@r.bdr.sh> | 2026-01-16 11:57:13 +0100 |
| commit | 81cd06b3334f2f91f6a1ab62a28e11c7d0c677eb (patch) | |
| tree | f0b0cf37b406eda2dec8db4382aeb5f606cd1f0d /src/handlers/view.rs | |
| parent | 4211b2ae06777d5bbe8261a1ab5c0dd057829a35 (diff) | |
Add preferences
Diffstat (limited to 'src/handlers/view.rs')
| -rw-r--r-- | src/handlers/view.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handlers/view.rs b/src/handlers/view.rs index 64aeb98..57f526a 100644 --- a/src/handlers/view.rs +++ b/src/handlers/view.rs @@ -14,7 +14,7 @@ pub fn change_orientation(model: &mut AppModel) { /// Updates the selected stage type from dropdown selection. pub fn stage_type_selected(model: &mut AppModel, index: usize) { if index < ALL_STAGE_TYPES.len() { - model.stage_type = ALL_STAGE_TYPES[index]; + model.stage_type = ALL_STAGE_TYPES[index].clone(); model.update_image(); } } |