From 5104f3247ba0e70d883e09ba34f55d9496be42a8 Mon Sep 17 00:00:00 2001 From: alfrix Date: Wed, 3 Jan 2024 09:52:52 -0300 Subject: [PATCH] prompts: do not close on actions to me closing was the intended behaviour a prompt ask and continue, but apparently other interfaces do not close on actions, so for consistency sake it will not. close #1224 --- ks_includes/widgets/prompts.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ks_includes/widgets/prompts.py b/ks_includes/widgets/prompts.py index 999233af..fe6e21bc 100644 --- a/ks_includes/widgets/prompts.py +++ b/ks_includes/widgets/prompts.py @@ -97,7 +97,6 @@ class Prompt: for button in self.buttons: if button['response'] == response_id: self.screen._send_action(None, "printer.gcode.script", {'script': button['gcode']}) - self.end() def end(self, *args): if self.prompt is not None: