bed_mesh: Allow the default profile to be removed
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
2c877e1729
commit
13d16afa0c
|
@ -434,7 +434,7 @@ class BedMeshCalibrate:
|
||||||
for key in options:
|
for key in options:
|
||||||
name = self.gcode.get_str(key, params, None)
|
name = self.gcode.get_str(key, params, None)
|
||||||
if name is not None:
|
if name is not None:
|
||||||
if name == "default" and key != 'LOAD':
|
if name == "default" and key == 'SAVE':
|
||||||
self.gcode.respond_info(
|
self.gcode.respond_info(
|
||||||
"Profile 'default' is reserved, please chose"
|
"Profile 'default' is reserved, please chose"
|
||||||
" another profile name.")
|
" another profile name.")
|
||||||
|
|
Loading…
Reference in New Issue