summaryrefslogtreecommitdiffstats
path: root/src/shape-editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shape-editor.cpp')
-rw-r--r--src/shape-editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp
index bf53e8bc3..acb1abfb0 100644
--- a/src/shape-editor.cpp
+++ b/src/shape-editor.cpp
@@ -145,7 +145,7 @@ void ShapeEditor::shapeeditor_event_attr_changed(gchar const *name)
if (changed_kh) {
// this can happen if an LPEItem's knotholder handle was dragged, in which case we want
// to keep the knotholder; in all other cases (e.g., if the LPE itself changes) we delete it
- reset_item(SH_KNOTHOLDER, !strcmp(name, "d"));
+ reset_item(SH_KNOTHOLDER, !strcmp(name, "d") || !strcmp(name, "style"));
}
}
}