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
This commit is contained in:
parent
08a3d8a798
commit
5104f3247b
@ -97,7 +97,6 @@ class Prompt:
|
|||||||
for button in self.buttons:
|
for button in self.buttons:
|
||||||
if button['response'] == response_id:
|
if button['response'] == response_id:
|
||||||
self.screen._send_action(None, "printer.gcode.script", {'script': button['gcode']})
|
self.screen._send_action(None, "printer.gcode.script", {'script': button['gcode']})
|
||||||
self.end()
|
|
||||||
|
|
||||||
def end(self, *args):
|
def end(self, *args):
|
||||||
if self.prompt is not None:
|
if self.prompt is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user