From aff96dd7a78e42b7fc8a2e22e8a41f5a6af8fa23 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Wed, 11 Dec 2024 21:38:59 +0100 Subject: [PATCH] Prepare to support expanding operations in list --- experiments/2024-12-09/src/view.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/experiments/2024-12-09/src/view.rs b/experiments/2024-12-09/src/view.rs index 96f204641..0773a9296 100644 --- a/experiments/2024-12-09/src/view.rs +++ b/experiments/2024-12-09/src/view.rs @@ -66,6 +66,7 @@ impl OperationView { pub fn selected(&self) -> &Self { self.selected .and_then(|selected| self.children.get(selected)) + .map(|child| child.selected()) .unwrap_or(self) }