aboutsummaryrefslogtreecommitdiffstats
path: root/klippy
diff options
context:
space:
mode:
authorArksine <arksine.code@gmail.com>2019-12-17 10:39:16 -0500
committerKevinOConnor <kevin@koconnor.net>2020-01-09 14:14:13 -0500
commit13d16afa0c36c1c10bd4d1777708f85fbcaf3173 (patch)
tree295ccbe5a31cba745526656a9d7e460ad4bda362 /klippy
parent2c877e172922d55340bf178d7c6e1b20ba357376 (diff)
downloadkutter-13d16afa0c36c1c10bd4d1777708f85fbcaf3173.tar.gz
kutter-13d16afa0c36c1c10bd4d1777708f85fbcaf3173.tar.xz
kutter-13d16afa0c36c1c10bd4d1777708f85fbcaf3173.zip
bed_mesh: Allow the default profile to be removed
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Diffstat (limited to 'klippy')
-rw-r--r--klippy/extras/bed_mesh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/bed_mesh.py b/klippy/extras/bed_mesh.py
index 6b7a0b50..67626a47 100644
--- a/klippy/extras/bed_mesh.py
+++ b/klippy/extras/bed_mesh.py
@@ -434,7 +434,7 @@ class BedMeshCalibrate:
for key in options:
name = self.gcode.get_str(key, params, None)
if name is not None:
- if name == "default" and key != 'LOAD':
+ if name == "default" and key == 'SAVE':
self.gcode.respond_info(
"Profile 'default' is reserved, please chose"
" another profile name.")