diff options
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(); } } |