Quit autofill menu after autofill

This commit is contained in:
Bernd Schoolmann 2023-12-26 22:58:49 +01:00
parent ca7505328b
commit 2460b4b943
No known key found for this signature in database

View File

@ -85,7 +85,7 @@ class MainWindow(Gtk.ApplicationWindow):
def do_autotype(username, password): def do_autotype(username, password):
time.sleep(0.5) time.sleep(0.5)
goldwarden.autotype(username, password) 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 = Thread(target=do_autotype, args=(self.history_list.get_selected_row().username, self.history_list.get_selected_row().password,))
autotypeThread.start() autotypeThread.start()
print(self.history_list.get_selected_row().get_title()) print(self.history_list.get_selected_row().get_title())