From 2460b4b9433b9639325489e23292cb2f8032de27 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Tue, 26 Dec 2023 22:58:49 +0100 Subject: [PATCH] Quit autofill menu after autofill --- ui/autofill.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/autofill.py b/ui/autofill.py index daded3a..b83bae1 100644 --- a/ui/autofill.py +++ b/ui/autofill.py @@ -85,7 +85,7 @@ class MainWindow(Gtk.ApplicationWindow): def do_autotype(username, password): time.sleep(0.5) goldwarden.autotype(username, password) - GLib.idle_add(lambda: self.show()) + os._exit(0) autotypeThread = Thread(target=do_autotype, args=(self.history_list.get_selected_row().username, self.history_list.get_selected_row().password,)) autotypeThread.start() print(self.history_list.get_selected_row().get_title())