diff --git a/src/app/browser/window/tab/item/identity/gemini/widget/form/file.rs b/src/app/browser/window/tab/item/identity/gemini/widget/form/file.rs index acc46cbf..9dcb9140 100644 --- a/src/app/browser/window/tab/item/identity/gemini/widget/form/file.rs +++ b/src/app/browser/window/tab/item/identity/gemini/widget/form/file.rs @@ -37,6 +37,9 @@ impl File { let pem = pem.clone(); let update = action.update.clone(); move |_| { + // Lock open button (prevent double click) + gobject.set_sensitive(false); + // Init file filters related with PEM extension let filters = ListStore::new::(); @@ -83,6 +86,7 @@ impl File { gobject.set_label(reason.message()) } } + gobject.set_sensitive(true); // unlock update.activate() } });