From fcceb5af1c58e7eee675156a6c5a8532ae51cadb Mon Sep 17 00:00:00 2001 From: yggverse Date: Sat, 7 Dec 2024 01:03:08 +0200 Subject: [PATCH] fix default selection value --- .../browser/window/tab/item/identity/gemini/widget/form/list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/browser/window/tab/item/identity/gemini/widget/form/list.rs b/src/app/browser/window/tab/item/identity/gemini/widget/form/list.rs index fd53362a..60330841 100644 --- a/src/app/browser/window/tab/item/identity/gemini/widget/form/list.rs +++ b/src/app/browser/window/tab/item/identity/gemini/widget/form/list.rs @@ -127,7 +127,7 @@ impl List { .find_with_equal_func(|item| { item.dynamic_cast_ref::().unwrap().is_active() }) - .unwrap(), + .unwrap_or_default(), ) .factory(&factory) .build();