From 1c6c93c130f53045bb2b491c62299ef1081df9e1 Mon Sep 17 00:00:00 2001 From: Shehriyar Qureshi Date: Tue, 4 Mar 2025 16:54:13 +0500 Subject: [PATCH] Revert "fix(app): close selected preview on single click" This reverts commit b25d0b5ff7191ee4f92a75d3a090e82c7de17fc7. --- src/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.rs b/src/app.rs index d37e721..c99aed4 100644 --- a/src/app.rs +++ b/src/app.rs @@ -2704,7 +2704,7 @@ impl Application for App { match self.mode { Mode::App => { let show_details = !self.config.show_details; - self.context_page = ContextPage::Preview(entity_opt, PreviewKind::Selected); + self.context_page = ContextPage::Preview(None, PreviewKind::Selected); self.core.window.show_context = show_details; return cosmic::task::message(Message::SetShowDetails(show_details)); }