From df726fd3e31350bbc521a63e959b49c31302d9ea Mon Sep 17 00:00:00 2001 From: Mike Solar Date: Sun, 16 Aug 2026 15:05:17 +0800 Subject: [PATCH] fix(gpui_widgets): file drops onto the project explorer fire (bare ExternalPaths type) --- crates/gpui_widgets/src/project_explorer.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/gpui_widgets/src/project_explorer.rs b/crates/gpui_widgets/src/project_explorer.rs index d80467c8fa..51954c20e0 100644 --- a/crates/gpui_widgets/src/project_explorer.rs +++ b/crates/gpui_widgets/src/project_explorer.rs @@ -13,7 +13,6 @@ use gpui::{ }; use std::collections::HashSet; use std::path::PathBuf; -use std::sync::Arc; /// A fully transparent color (for un-hovered rows). fn transparent() -> gpui::Rgba { @@ -400,7 +399,7 @@ impl Render for ProjectExplorer { .flex() .flex_col() .on_drop( - cx.listener(|this, paths: &Arc, _window, cx| { + cx.listener(|this, paths: &ExternalPaths, _window, cx| { cx.emit(ProjectExplorerEvent::FileDropRequested { control: this.control, paths: paths.0.iter().cloned().collect(),