diff --git a/src/ui/presentation_editor.rs b/src/ui/presentation_editor.rs index f4d43aa..fdb637d 100644 --- a/src/ui/presentation_editor.rs +++ b/src/ui/presentation_editor.rs @@ -105,7 +105,7 @@ impl PresentationEditor { if let PresKind::Pdf { starting_index, ending_index, - } = presentation.kind.clone() + } = presentation.kind { let range = starting_index..=ending_index; task = Task::perform(