aboutsummaryrefslogtreecommitdiff
path: root/src/handlers/view.rs
diff options
context:
space:
mode:
authorRubén Beltrán del Río <jj@r.bdr.sh>2026-01-16 08:26:35 +0100
committerRubén Beltrán del Río <jj@r.bdr.sh>2026-01-16 11:57:13 +0100
commit81cd06b3334f2f91f6a1ab62a28e11c7d0c677eb (patch)
treef0b0cf37b406eda2dec8db4382aeb5f606cd1f0d /src/handlers/view.rs
parent4211b2ae06777d5bbe8261a1ab5c0dd057829a35 (diff)
Add preferences
Diffstat (limited to 'src/handlers/view.rs')
-rw-r--r--src/handlers/view.rs2
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();
}
}