diff --git a/PGUI.pyw b/PGUI.pyw index 74852dc..8e2a848 100644 --- a/PGUI.pyw +++ b/PGUI.pyw @@ -28,6 +28,7 @@ class PGUILauncher(tkinter.ttk.Frame): self.filter_entry = tkinter.Entry(self, textvariable=self.filter_var) self.filter_entry.grid(row=0, column=0, columnspan=999, sticky='ew') self.filter_entry.bind('', self.launch_filtered) + self.filter_entry.bind('', self.quit) self.filter_entry.focus() x = 0 @@ -80,6 +81,9 @@ class PGUILauncher(tkinter.ttk.Frame): subprocess.Popen(command, shell=True) self.quit() + def quit(self, *args): + return super().quit() + def main(argv): root = tkinter.Tk()