From 2f7bf74bc17d883630df4d7f45f558a5607481b6 Mon Sep 17 00:00:00 2001 From: Antoine Beyeler <49431240+abey79@users.noreply.github.com> Date: Tue, 25 Feb 2025 18:27:50 +0100 Subject: [PATCH] Update crates/viewer/re_context_menu/src/actions/copy_entity_path.rs --- crates/viewer/re_context_menu/src/actions/copy_entity_path.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/viewer/re_context_menu/src/actions/copy_entity_path.rs b/crates/viewer/re_context_menu/src/actions/copy_entity_path.rs index 0d90e8fea753..c04740ec1591 100644 --- a/crates/viewer/re_context_menu/src/actions/copy_entity_path.rs +++ b/crates/viewer/re_context_menu/src/actions/copy_entity_path.rs @@ -21,8 +21,8 @@ impl ContextMenuAction for CopyEntityPathToClipboard { } } - fn label(&self, _ctx: &ContextMenuContext<'_>) -> String { - if _ctx.selection.len() == 1 { + fn label(&self, ctx: &ContextMenuContext<'_>) -> String { + if ctx.selection.len() == 1 { "Copy entity path".to_owned() } else { "Copy entity paths".to_owned()